#396D8B

Closest named color: Denim (#3B638C). oklch(51.2% 0.073 235.9), rgb(57, 109, 139).

Aa

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

About this color

#396D8B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.073 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.031 away. White text reads best on it, at 5.62:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.73:1
White text5.62:1

Values

HEX#396D8B
RGBrgb(57, 109, 139)
HSLhsl(202, 42%, 38%)
OKLCHoklch(51.2% 0.073 235.9)

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 #396D8B 5.62:1 AA Lc -83.2 Fine for body text
Black text on #396D8B 3.73:1 AA large text Lc 26.1 Dividers and decoration only
#396D8B text on white 5.62:1 AA Lc 78.0 Fine for body text
#396D8B text on black 3.73:1 AA large text Lc -23.8 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 700.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CDDBE5

    oklch(88.4% 0.02 238.7)

  4. Step 300

    300

    #ACC5D5

    oklch(81% 0.035 236)

  5. Step 400

    400

    #7FA7C0

    oklch(70.8% 0.057 236.1)

  6. Step 500

    500

    #5D91B0

    oklch(63.2% 0.073 235.7)

  7. Step 600

    600

    #417A9B

    oklch(55.5% 0.079 236)

  8. Step 700

    700 (this color)

    #396D8B

    oklch(51.2% 0.073 235.9)

  9. Step 800

    800

    #2B546C

    oklch(42.7% 0.061 236.3)

  10. Step 900

    900

    #274657

    oklch(37.8% 0.047 233.9)

  11. Step 950

    950

    #182933

    oklch(27.1% 0.029 235.2)

Export this scale for Tailwind in the Tailwind colors tool

#396D8B 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)#5F6C8C0.045
Deuteranopia (no green cones)#54648B0.038
Tritanopia (no blue cones)#0075770.055
Achromatopsia (no color)#6767670.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #396D8B

    #396D8B

    oklch(51.2% 0.073 235.9)

  • #875B3C

    #875B3C

    oklch(51.1% 0.073 55.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #396D8B

    #396D8B

    oklch(51.2% 0.073 235.9)

  • #27727B

    #27727B

    oklch(51% 0.073 206.4)

  • #536591

    #536591

    oklch(51.1% 0.074 266.8)

Open the analogous palette in the generator

Split complementary

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

  • #396D8B

    #396D8B

    oklch(51.2% 0.073 235.9)

  • #8C5650

    #8C5650

    oklch(51.2% 0.073 26.8)

  • #796332

    #796332

    oklch(51% 0.073 85.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #396D8B

    #396D8B

    oklch(51.2% 0.073 235.9)

  • #885468

    #885468

    oklch(51.1% 0.074 355.4)

  • #646C39

    #646C39

    oklch(51.2% 0.074 116.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #396D8B

    #396D8B

    oklch(51.2% 0.073 235.9)

  • #7D587D

    #7D587D

    oklch(51.3% 0.073 326.6)

  • #875B3C

    #875B3C

    oklch(51.1% 0.073 55.5)

  • #4A724D

    #4A724D

    oklch(51.2% 0.073 146.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #396D8B 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.