#38406E

Closest named color: Twilight Blue (#0A437A). oklch(38.7% 0.079 274.7), rgb(56, 64, 110).

Aa

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

About this color

#38406E is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.079 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.046 away. White text reads best on it, at 9.87:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.12:1
White text9.87:1

Values

HEX#38406E
RGBrgb(56, 64, 110)
HSLhsl(231, 33%, 33%)
OKLCHoklch(38.7% 0.079 274.7)

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 #38406E 9.87:1 AAA Lc -97.0 Preferred for body text
Black text on #38406E 2.12:1 Fails Lc 11.1 Not readable
#38406E text on white 9.87:1 AAA Lc 92.8 Preferred for body text
#38406E text on black 2.12:1 Fails Lc -9.6 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8EF

    oklch(88.5% 0.032 274.1)

  4. Step 300

    300

    #B5BEE7

    oklch(80.8% 0.059 275.3)

  5. Step 400

    400

    #8F9CDC

    oklch(70.7% 0.095 274.9)

  6. Step 500

    500

    #7482D2

    oklch(63% 0.121 274.9)

  7. Step 600

    600

    #5D6BBF

    oklch(55.7% 0.131 274.3)

  8. Step 700

    700

    #4D58A5

    oklch(49% 0.123 274.8)

  9. Step 800

    800

    #3F4986

    oklch(42.8% 0.101 274.3)

  10. Step 900

    900 (this color)

    #38406E

    oklch(38.7% 0.079 274.7)

  11. Step 950

    950

    #1F243F

    oklch(27% 0.051 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#38406E 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)#2F45700.018
Deuteranopia (no green cones)#2A416D0.019
Tritanopia (no blue cones)#244A510.071
Achromatopsia (no color)#4343430.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #38406E

    #38406E

    oklch(38.7% 0.079 274.7)

  • #524301

    #524301

    oklch(38.7% 0.079 94.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38406E

    #38406E

    oklch(38.7% 0.079 274.7)

  • #18486B

    #18486B

    oklch(38.7% 0.078 244.2)

  • #4E3966

    #4E3966

    oklch(38.8% 0.078 304.5)

Open the analogous palette in the generator

Split complementary

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

  • #38406E

    #38406E

    oklch(38.7% 0.079 274.7)

  • #613A0D

    #613A0D

    oklch(38.7% 0.079 64.3)

  • #3B4B17

    #3B4B17

    oklch(38.7% 0.078 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38406E

    #38406E

    oklch(38.7% 0.079 274.7)

  • #683326

    #683326

    oklch(38.8% 0.079 34.9)

  • #1A5031

    #1A5031

    oklch(38.6% 0.078 154.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38406E

    #38406E

    oklch(38.7% 0.079 274.7)

  • #66313F

    #66313F

    oklch(38.7% 0.078 4.6)

  • #524301

    #524301

    oklch(38.7% 0.079 94.3)

  • #005049

    #005049

    oklch(38.8% 0.068 184.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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