#38457E

Closest named color: Cobalt (#1E488F). oklch(40.9% 0.097 271.8), rgb(56, 69, 126).

Aa

White text reads best on this color (9.04:1).

About this color

#38457E is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.097 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.038 away. White text reads best on it, at 9.04:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.32:1
White text9.04:1

Values

HEX#38457E
RGBrgb(56, 69, 126)
HSLhsl(229, 38%, 36%)
OKLCHoklch(40.9% 0.097 271.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #38457E 9.04:1 AAA Lc -95.1 Preferred for body text
Black text on #38457E 2.32:1 Fails Lc 13.3 Not readable
#38457E text on white 9.04:1 AAA Lc 90.6 Preferred for body text
#38457E text on black 2.32:1 Fails Lc -11.7 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D1D8EF

    oklch(88.4% 0.033 272.2)

  4. Step 300

    300

    #B3BFE6

    oklch(80.8% 0.057 271.7)

  5. Step 400

    400

    #8C9DDA

    oklch(70.6% 0.092 271.9)

  6. Step 500

    500

    #7184CF

    oklch(63.1% 0.115 272)

  7. Step 600

    600

    #5A6DBC

    oklch(55.7% 0.124 271.6)

  8. Step 700

    700

    #4A5AA2

    oklch(49% 0.117 272)

  9. Step 800

    800 (this color)

    #38457E

    oklch(40.9% 0.097 271.8)

  10. Step 900

    900

    #343E69

    oklch(37.6% 0.075 272.4)

  11. Step 950

    950

    #1E253E

    oklch(27.1% 0.048 271.1)

Export this scale for Tailwind in the Tailwind colors tool

#38457E with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#2D4C800.022
Deuteranopia (no green cones)#25467D0.023
Tritanopia (no blue cones)#16515B0.086
Achromatopsia (no color)#4949490.097

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #38457E

    #38457E

    oklch(40.9% 0.097 271.8)

  • #5A4800

    #5A4800

    oklch(40.9% 0.084 92.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38457E

    #38457E

    oklch(40.9% 0.097 271.8)

  • #004F79

    #004F79

    oklch(40.9% 0.096 241.5)

  • #543C75

    #543C75

    oklch(41% 0.096 301.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #38457E

    #38457E

    oklch(40.9% 0.097 271.8)

  • #6D3C00

    #6D3C00

    oklch(40.8% 0.094 62)

  • #425204

    #425204

    oklch(41% 0.097 121.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38457E

    #38457E

    oklch(40.9% 0.097 271.8)

  • #753327

    #753327

    oklch(40.8% 0.096 32)

  • #13582E

    #13582E

    oklch(40.7% 0.096 151.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38457E

    #38457E

    oklch(40.9% 0.097 271.8)

  • #733046

    #733046

    oklch(40.8% 0.097 1.7)

  • #5A4800

    #5A4800

    oklch(40.9% 0.084 92.4)

  • #00574D

    #00574D

    oklch(41% 0.074 181.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #38457E, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #38457E in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.