#38406A

Closest named color: Dark Grey Blue (#29465B). oklch(38.5% 0.072 274.3), rgb(56, 64, 106).

Aa

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

About this color

#38406A is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.072 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.041 away. White text reads best on it, at 9.95:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.10:1
White text9.95:1

Values

HEX#38406A
RGBrgb(56, 64, 106)
HSLhsl(230, 31%, 32%)
OKLCHoklch(38.5% 0.072 274.3)

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 #38406A 9.95:1 AAA Lc -97.2 Preferred for body text
Black text on #38406A 2.10:1 Fails Lc 10.9 Not readable
#38406A text on white 9.95:1 AAA Lc 93.0 Preferred for body text
#38406A text on black 2.10:1 Fails Lc -9.4 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 900.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D3D8EE

    oklch(88.5% 0.031 275.6)

  4. Step 300

    300

    #B5BFE4

    oklch(80.9% 0.053 273.3)

  5. Step 400

    400

    #909DD7

    oklch(70.8% 0.086 274.3)

  6. Step 500

    500

    #7584CC

    oklch(63.2% 0.11 273.9)

  7. Step 600

    600

    #5E6CB9

    oklch(55.6% 0.12 274.1)

  8. Step 700

    700

    #4E5AA0

    oklch(49.2% 0.112 274.2)

  9. Step 800

    800

    #404A81

    oklch(42.8% 0.092 274.1)

  10. Step 900

    900 (this color)

    #38406A

    oklch(38.5% 0.072 274.3)

  11. Step 950

    950

    #20243D

    oklch(26.9% 0.047 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#38406A 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)#31456C0.016
Deuteranopia (no green cones)#2D41690.015
Tritanopia (no blue cones)#2749500.064
Achromatopsia (no color)#4343430.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #38406A

    #38406A

    oklch(38.5% 0.072 274.3)

  • #50430C

    #50430C

    oklch(38.6% 0.072 95)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38406A

    #38406A

    oklch(38.5% 0.072 274.3)

  • #1D4767

    #1D4767

    oklch(38.4% 0.072 244.4)

  • #4C3963

    #4C3963

    oklch(38.4% 0.073 304)

Open the analogous palette in the generator

Split complementary

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

  • #38406A

    #38406A

    oklch(38.5% 0.072 274.3)

  • #5E3A14

    #5E3A14

    oklch(38.4% 0.072 63.7)

  • #3B4A1B

    #3B4A1B

    oklch(38.4% 0.073 124.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38406A

    #38406A

    oklch(38.5% 0.072 274.3)

  • #643429

    #643429

    oklch(38.4% 0.072 33.9)

  • #1F4F32

    #1F4F32

    oklch(38.6% 0.072 154.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38406A

    #38406A

    oklch(38.5% 0.072 274.3)

  • #63323F

    #63323F

    oklch(38.5% 0.072 4.1)

  • #50430C

    #50430C

    oklch(38.6% 0.072 95)

  • #004F48

    #004F48

    oklch(38.4% 0.068 184.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38406A 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.