#38539A

Closest named color: Denim Blue (#3B5B92). oklch(45.9% 0.12 266.1), rgb(56, 83, 154).

Aa

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

About this color

#38539A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.120 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.029 away. White text reads best on it, at 7.31:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text2.87:1
White text7.31:1

Values

HEX#38539A
RGBrgb(56, 83, 154)
HSLhsl(223, 47%, 41%)
OKLCHoklch(45.9% 0.12 266.1)

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 #38539A 7.31:1 AAA Lc -90.0 Preferred for body text
Black text on #38539A 2.87:1 Fails Lc 18.9 Dividers and decoration only
#38539A text on white 7.31:1 AAA Lc 85.2 Fine for body text
#38539A text on black 2.87:1 Fails Lc -16.9 Dividers and decoration only

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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CDD9F4

    oklch(88.5% 0.039 266.5)

  4. Step 300

    300

    #ACC0EF

    oklch(80.9% 0.07 266.8)

  5. Step 400

    400

    #809EE7

    oklch(70.6% 0.113 266.5)

  6. Step 500

    500

    #6185E0

    oklch(63.2% 0.143 266.1)

  7. Step 600

    600

    #486CCE

    oklch(55.6% 0.157 266.2)

  8. Step 700

    700

    #3A5AB2

    oklch(49.2% 0.145 266.2)

  9. Step 800

    800 (this color)

    #38539A

    oklch(45.9% 0.12 266.1)

  10. Step 900

    900

    #2A3E73

    oklch(37.6% 0.094 266.4)

  11. Step 950

    950

    #192543

    oklch(27% 0.058 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#38539A 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)#315B9D0.022
Deuteranopia (no green cones)#2152990.023
Tritanopia (no blue cones)#00636F0.101
Achromatopsia (no color)#5656560.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #38539A

    #38539A

    oklch(45.9% 0.12 266.1)

  • #6F5300

    #6F5300

    oklch(45.9% 0.094 85.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38539A

    #38539A

    oklch(45.9% 0.12 266.1)

  • #005F87

    #005F87

    oklch(45.9% 0.099 236)

  • #5F4792

    #5F4792

    oklch(46% 0.119 296.1)

Open the analogous palette in the generator

Split complementary

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

  • #38539A

    #38539A

    oklch(45.9% 0.12 266.1)

  • #854400

    #854400

    oklch(45.9% 0.112 56.5)

  • #555E00

    #555E00

    oklch(45.8% 0.105 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38539A

    #38539A

    oklch(45.9% 0.12 266.1)

  • #8F3732

    #8F3732

    oklch(45.9% 0.121 26.2)

  • #1E692A

    #1E692A

    oklch(46% 0.121 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38539A

    #38539A

    oklch(45.9% 0.12 266.1)

  • #89365A

    #89365A

    oklch(45.9% 0.12 355.8)

  • #6F5300

    #6F5300

    oklch(45.9% 0.094 85.9)

  • #006756

    #006756

    oklch(45.9% 0.086 176.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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