#336C8B

Closest named color: Denim (#3B638C). oklch(50.7% 0.077 234.9), rgb(51, 108, 139).

Aa

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

About this color

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

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

Values

HEX#336C8B
RGBrgb(51, 108, 139)
HSLhsl(201, 46%, 37%)
OKLCHoklch(50.7% 0.077 234.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 #336C8B 5.73:1 AA Lc -83.8 Fine for body text
Black text on #336C8B 3.65:1 AA large text Lc 25.5 Dividers and decoration only
#336C8B text on white 5.73:1 AA Lc 78.5 Fine for body text
#336C8B text on black 3.65:1 AA large text Lc -23.3 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CDDCE5

    oklch(88.6% 0.02 233.9)

  4. Step 300

    300

    #AAC5D6

    oklch(80.9% 0.038 235.6)

  5. Step 400

    400

    #7CA7C1

    oklch(70.7% 0.06 235.3)

  6. Step 500

    500

    #5991B1

    oklch(63.1% 0.076 234.8)

  7. Step 600

    600

    #3D7B9D

    oklch(55.6% 0.083 235)

  8. Step 700

    700 (this color)

    #336C8B

    oklch(50.7% 0.077 234.9)

  9. Step 800

    800

    #28546D

    oklch(42.6% 0.064 235.9)

  10. Step 900

    900

    #254658

    oklch(37.7% 0.05 234)

  11. Step 950

    950

    #162934

    oklch(27% 0.032 235.1)

Export this scale for Tailwind in the Tailwind colors tool

#336C8B 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)#5D6B8C0.048
Deuteranopia (no green cones)#51628B0.041
Tritanopia (no blue cones)#0074760.054
Achromatopsia (no color)#6666660.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #336C8B

    #336C8B

    oklch(50.7% 0.077 234.9)

  • #875938

    #875938

    oklch(50.7% 0.077 55.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336C8B

    #336C8B

    oklch(50.7% 0.077 234.9)

  • #1E727A

    #1E727A

    oklch(50.8% 0.077 204.5)

  • #4F6492

    #4F6492

    oklch(50.6% 0.078 265)

Open the analogous palette in the generator

Split complementary

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

  • #336C8B

    #336C8B

    oklch(50.7% 0.077 234.9)

  • #8C534E

    #8C534E

    oklch(50.6% 0.077 25.5)

  • #79612C

    #79612C

    oklch(50.5% 0.077 84.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336C8B

    #336C8B

    oklch(50.7% 0.077 234.9)

  • #885267

    #885267

    oklch(50.7% 0.077 355.3)

  • #646A34

    #646A34

    oklch(50.6% 0.077 114.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336C8B

    #336C8B

    oklch(50.7% 0.077 234.9)

  • #7C557E

    #7C557E

    oklch(50.7% 0.079 325)

  • #875938

    #875938

    oklch(50.7% 0.077 55.7)

  • #487149

    #487149

    oklch(50.7% 0.078 144.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #336C8B 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.