HSL(238, 100%, 37%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(238,100%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(238, 100%, 37%) color: hsl(238, 100%, 37%)
HEX #0006BD color: #0006BD
RGB rgb(0, 6, 189) color: rgb(0, 6, 189)
CMYK cmyk(100%, 97%, 0%, 26%)
HSV hsv(238, 100%, 74%)
HWB hwb(238 0% 26%) color: hwb(238 0% 26%)
OKLCH oklch(0.3639 0.248 264.11) color: oklch(0.3639 0.248 264.11)
Lab lab(23.01 61.82 -85.36) color: lab(23.01 61.82 -85.36)
LCH lch(23.01 105.39 305.91) color: lch(23.01 105.39 305.91)

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 11.93:1
vs Black 1.76:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#030391 — rgb(3, 3, 145)

Deuteranopia (Green-blind)

#020286 — rgb(2, 2, 134)

Tritanopia (Blue-blind)

#006E66 — rgb(0, 110, 102)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(238, 100%, 37%);

text

color: hsl(238, 100%, 37%);

border

border: 2px solid hsl(238, 100%, 37%);

gradient light

background: linear-gradient(to right, hsl(238, 100%, 57%), hsl(238, 100%, 37%));

gradient dark

background: linear-gradient(to right, hsl(238, 100%, 37%), hsl(238, 100%, 17%))

hex

background-color: #0006BD;

tailwind

bg-[hsl(238,100%,37%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(238, 100%, 37%, 0.4);

css variable

--color-primary: hsl(238, 100%, 37%);

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(238, 100%, 37%)?

HEX: #0006BD | RGB: rgb(0, 6, 189) | CMYK: 100%, 97%, 0%, 26% | HSV: 238°, 100%, 74%. Copy any format from the conversion table above.

What colors go well with #0006BD?

The complementary color is HSL(58, 100%, 37%). For a triadic harmony, use hues 238°, 358°, and 118°. For analogous combinations, try hues 208° and 268°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(238, 100%, 37%) in CSS?

As HSL: color: hsl(238, 100%, 37%); — As HEX: color: #0006BD; — As RGB: color: rgb(0, 6, 189); — Tailwind CSS: bg-[hsl(238,100%,37%)] — CSS variable: --color-primary: hsl(238, 100%, 37%);