#336CA8

Closest named color: French Blue (#436BAD). oklch(52.2% 0.112 251.8), rgb(51, 108, 168).

Aa

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

About this color

#336CA8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.112 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is French Blue (#436BAD), ΔE 0.018 away. White text reads best on it, at 5.45:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameFrench Blue (#436BAD)
Black text3.85:1
White text5.45:1

Values

HEX#336CA8
RGBrgb(51, 108, 168)
HSLhsl(211, 53%, 43%)
OKLCHoklch(52.2% 0.112 251.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 #336CA8 5.45:1 AA Lc -82.3 Fine for body text
Black text on #336CA8 3.85:1 AA large text Lc 27.1 Dividers and decoration only
#336CA8 text on white 5.45:1 AA Lc 76.9 Fine for body text
#336CA8 text on black 3.85:1 AA large text Lc -24.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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF4

    oklch(93.7% 0.015 251.2)

  3. Step 200

    200

    #CBDBED

    oklch(88.5% 0.03 251.3)

  4. Step 300

    300

    #A8C4E3

    oklch(81% 0.053 251.1)

  5. Step 400

    400

    #78A4D6

    oklch(70.6% 0.088 252.2)

  6. Step 500

    500

    #548DCB

    oklch(63.1% 0.112 251.8)

  7. Step 600

    600

    #3776B8

    oklch(55.6% 0.122 251.8)

  8. Step 700

    700 (this color)

    #336CA8

    oklch(52.2% 0.112 251.8)

  9. Step 800

    800

    #245180

    oklch(42.7% 0.093 251.7)

  10. Step 900

    900

    #224367

    oklch(37.6% 0.073 252.1)

  11. Step 950

    950

    #15283C

    oklch(27.1% 0.045 250.9)

Export this scale for Tailwind in the Tailwind colors tool

#336CA8 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)#5170AA0.035
Deuteranopia (no green cones)#4064A70.024
Tritanopia (no blue cones)#007A820.087
Achromatopsia (no color)#6969690.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #336CA8

    #336CA8

    oklch(52.2% 0.112 251.8)

  • #915D00

    #915D00

    oklch(52.3% 0.112 71.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336CA8

    #336CA8

    oklch(52.2% 0.112 251.8)

  • #007591

    #007591

    oklch(52.1% 0.096 222.1)

  • #6060A8

    #6060A8

    oklch(52.3% 0.112 281.8)

Open the analogous palette in the generator

Split complementary

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

  • #336CA8

    #336CA8

    oklch(52.2% 0.112 251.8)

  • #9E5131

    #9E5131

    oklch(52.2% 0.112 42.4)

  • #776B00

    #776B00

    oklch(52.3% 0.109 101.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336CA8

    #336CA8

    oklch(52.2% 0.112 251.8)

  • #9F4B58

    #9F4B58

    oklch(52.2% 0.112 12.1)

  • #51772C

    #51772C

    oklch(52.4% 0.113 131.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336CA8

    #336CA8

    oklch(52.2% 0.112 251.8)

  • #944D7C

    #944D7C

    oklch(52.2% 0.112 341.5)

  • #915D00

    #915D00

    oklch(52.3% 0.112 71.7)

  • #097D55

    #097D55

    oklch(52.2% 0.112 161.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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