#38427B

Closest named color: Dark Slate Blue (#483D8B). oklch(40% 0.096 273.8), rgb(56, 66, 123).

Aa

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

About this color

#38427B is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.096 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.040 away. White text reads best on it, at 9.40:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.23:1
White text9.40:1

Values

HEX#38427B
RGBrgb(56, 66, 123)
HSLhsl(231, 37%, 35%)
OKLCHoklch(40% 0.096 273.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 #38427B 9.40:1 AAA Lc -95.9 Preferred for body text
Black text on #38427B 2.23:1 Fails Lc 12.4 Not readable
#38427B text on white 9.40:1 AAA Lc 91.6 Preferred for body text
#38427B text on black 2.23:1 Fails Lc -10.8 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D0D8F4

    oklch(88.5% 0.04 272.9)

  4. Step 300

    300

    #B1BEF0

    oklch(80.9% 0.072 273.3)

  5. Step 400

    400

    #8A9BE9

    oklch(70.8% 0.116 273.7)

  6. Step 500

    500

    #6E80E2

    oklch(63.1% 0.148 273.6)

  7. Step 600

    600

    #5867D0

    oklch(55.6% 0.161 273.9)

  8. Step 700

    700

    #4855B4

    oklch(49.1% 0.15 273.7)

  9. Step 800

    800

    #3B4691

    oklch(42.6% 0.123 273.7)

  10. Step 900

    900 (this color)

    #38427B

    oklch(40% 0.096 273.8)

  11. Step 950

    950

    #1D2344

    oklch(26.9% 0.062 273.8)

Export this scale for Tailwind in the Tailwind colors tool

#38427B 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)#2A497D0.024
Deuteranopia (no green cones)#22447A0.027
Tritanopia (no blue cones)#1A4E580.085
Achromatopsia (no color)#4646460.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #38427B

    #38427B

    oklch(40% 0.096 273.8)

  • #564600

    #564600

    oklch(39.9% 0.082 94)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38427B

    #38427B

    oklch(40% 0.096 273.8)

  • #044C77

    #044C77

    oklch(40.1% 0.096 243.5)

  • #533971

    #533971

    oklch(40% 0.095 303.9)

Open the analogous palette in the generator

Split complementary

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

  • #38427B

    #38427B

    oklch(40% 0.096 273.8)

  • #693B00

    #693B00

    oklch(40% 0.091 63.6)

  • #3D5004

    #3D5004

    oklch(40.1% 0.097 124.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38427B

    #38427B

    oklch(40% 0.096 273.8)

  • #723123

    #723123

    oklch(40% 0.095 33.6)

  • #0A562E

    #0A562E

    oklch(40% 0.096 153.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38427B

    #38427B

    oklch(40% 0.096 273.8)

  • #712E42

    #712E42

    oklch(40.1% 0.097 3.8)

  • #564600

    #564600

    oklch(39.9% 0.082 94)

  • #00544C

    #00544C

    oklch(40.1% 0.071 183.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38427B 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.