#336AA8

Closest named color: French Blue (#436BAD). oklch(51.7% 0.115 253.2), rgb(51, 106, 168).

Aa

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

About this color

#336AA8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.115 and its hue 253°. 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.57:1.

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

Values

HEX#336AA8
RGBrgb(51, 106, 168)
HSLhsl(212, 53%, 43%)
OKLCHoklch(51.7% 0.115 253.2)

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 #336AA8 5.57:1 AA Lc -82.9 Fine for body text
Black text on #336AA8 3.76:1 AA large text Lc 26.5 Dividers and decoration only
#336AA8 text on white 5.57:1 AA Lc 77.6 Fine for body text
#336AA8 text on black 3.76:1 AA large text Lc -24.2 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

    #E3EBF5

    oklch(93.7% 0.016 253.9)

  3. Step 200

    200

    #CBDBEE

    oklch(88.5% 0.031 252.7)

  4. Step 300

    300

    #A8C3E4

    oklch(80.8% 0.055 253.6)

  5. Step 400

    400

    #79A4D7

    oklch(70.7% 0.089 253.2)

  6. Step 500

    500

    #558CCC

    oklch(63% 0.113 253.3)

  7. Step 600

    600

    #3975B9

    oklch(55.5% 0.123 253.3)

  8. Step 700

    700 (this color)

    #336AA8

    oklch(51.7% 0.115 253.2)

  9. Step 800

    800

    #255081

    oklch(42.6% 0.095 253.5)

  10. Step 900

    900

    #234368

    oklch(37.7% 0.074 253.3)

  11. Step 950

    950

    #15273D

    oklch(26.9% 0.048 254.2)

Export this scale for Tailwind in the Tailwind colors tool

#336AA8 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)#4E6EAB0.032
Deuteranopia (no green cones)#3D63A70.020
Tritanopia (no blue cones)#0078810.088
Achromatopsia (no color)#6868680.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #336AA8

    #336AA8

    oklch(51.7% 0.115 253.2)

  • #8E5C00

    #8E5C00

    oklch(51.7% 0.11 72.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336AA8

    #336AA8

    oklch(51.7% 0.115 253.2)

  • #007491

    #007491

    oklch(51.9% 0.097 223.1)

  • #605EA7

    #605EA7

    oklch(51.8% 0.113 282.9)

Open the analogous palette in the generator

Split complementary

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

  • #336AA8

    #336AA8

    oklch(51.7% 0.115 253.2)

  • #9D4F2D

    #9D4F2D

    oklch(51.7% 0.114 43.1)

  • #746A00

    #746A00

    oklch(51.7% 0.109 103)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336AA8

    #336AA8

    oklch(51.7% 0.115 253.2)

  • #9F4955

    #9F4955

    oklch(51.8% 0.115 13.3)

  • #4D762B

    #4D762B

    oklch(51.8% 0.114 133.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336AA8

    #336AA8

    oklch(51.7% 0.115 253.2)

  • #944B79

    #944B79

    oklch(51.8% 0.114 343.3)

  • #8E5C00

    #8E5C00

    oklch(51.7% 0.11 72.6)

  • #007C56

    #007C56

    oklch(51.9% 0.112 163.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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