HSL(199, 92%, 30%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(199,92%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(199, 92%, 30%) color: hsl(199, 92%, 30%)
HEX #066693 color: #066693
RGB rgb(6, 102, 147) color: rgb(6, 102, 147)
CMYK cmyk(96%, 31%, 0%, 42%)
HSV hsv(199, 96%, 58%)
HWB hwb(199 2% 42%) color: hwb(199 2% 42%)
OKLCH oklch(0.4846 0.1054 237.96) color: oklch(0.4846 0.1054 237.96)
Lab lab(40.65 -7.42 -31.47) color: lab(40.65 -7.42 -31.47)
LCH lch(40.65 32.33 256.73) color: lch(40.65 32.33 256.73)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 6.31:1
vs Black 3.33:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#303088 — rgb(48, 48, 136)

Deuteranopia (Green-blind)

#2A2386 — rgb(42, 35, 134)

Tritanopia (Blue-blind)

#0B807E — rgb(11, 128, 126)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(199, 92%, 30%);

text

color: hsl(199, 92%, 30%);

border

border: 2px solid hsl(199, 92%, 30%);

gradient light

background: linear-gradient(to right, hsl(199, 92%, 50%), hsl(199, 92%, 30%));

gradient dark

background: linear-gradient(to right, hsl(199, 92%, 30%), hsl(199, 92%, 10%))

hex

background-color: #066693;

tailwind

bg-[hsl(199,92%,30%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(199, 92%, 30%, 0.4);

css variable

--color-primary: hsl(199, 92%, 30%);

Related Colors

Use Cases for Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(199, 92%, 30%)?

HEX: #066693 | RGB: rgb(6, 102, 147) | CMYK: 96%, 31%, 0%, 42% | HSV: 199°, 96%, 58%. Copy any format from the conversion table above.

What colors go well with #066693?

The complementary color is HSL(19, 92%, 30%). For a triadic harmony, use hues 199°, 319°, and 79°. For analogous combinations, try hues 169° and 229°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(199, 92%, 30%) in CSS?

As HSL: color: hsl(199, 92%, 30%); — As HEX: color: #066693; — As RGB: color: rgb(6, 102, 147); — Tailwind CSS: bg-[hsl(199,92%,30%)] — CSS variable: --color-primary: hsl(199, 92%, 30%);