#336CAE

Closest named color: Mid Blue (#276AB3). oklch(52.6% 0.12 253.9), rgb(51, 108, 174).

Aa

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

About this color

#336CAE is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.120 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.014 away. White text reads best on it, at 5.38:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.89:1
White text5.38:1

Values

HEX#336CAE
RGBrgb(51, 108, 174)
HSLhsl(212, 55%, 44%)
OKLCHoklch(52.6% 0.12 253.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 #336CAE 5.38:1 AA Lc -81.9 Fine for body text
Black text on #336CAE 3.89:1 AA large text Lc 27.5 Dividers and decoration only
#336CAE text on white 5.38:1 AA Lc 76.6 Fine for body text
#336CAE text on black 3.89:1 AA large text Lc -25.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 600.

  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

    #CCDBED

    oklch(88.6% 0.03 253)

  4. Step 300

    300

    #A9C3E4

    oklch(80.9% 0.055 254.5)

  5. Step 400

    400

    #7AA4D6

    oklch(70.7% 0.087 253.3)

  6. Step 500

    500

    #588CCB

    oklch(63.1% 0.111 254.1)

  7. Step 600

    600 (this color)

    #336CAE

    oklch(52.6% 0.12 253.9)

  8. Step 700

    700

    #2E629E

    oklch(49.1% 0.112 253.8)

  9. Step 800

    800

    #275080

    oklch(42.6% 0.093 253.9)

  10. Step 900

    900

    #244367

    oklch(37.7% 0.072 253.4)

  11. Step 950

    950

    #16273C

    oklch(26.9% 0.046 254.4)

Export this scale for Tailwind in the Tailwind colors tool

#336CAE 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)#4E71B10.033
Deuteranopia (no green cones)#3C65AD0.020
Tritanopia (no blue cones)#007B840.093
Achromatopsia (no color)#6A6A6A0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #336CAE

    #336CAE

    oklch(52.6% 0.12 253.9)

  • #905F00

    #905F00

    oklch(52.6% 0.111 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336CAE

    #336CAE

    oklch(52.6% 0.12 253.9)

  • #007694

    #007694

    oklch(52.5% 0.098 223.6)

  • #635FAD

    #635FAD

    oklch(52.6% 0.12 283.8)

Open the analogous palette in the generator

Split complementary

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

  • #336CAE

    #336CAE

    oklch(52.6% 0.12 253.9)

  • #A2502A

    #A2502A

    oklch(52.6% 0.12 43.9)

  • #766D00

    #766D00

    oklch(52.6% 0.111 103.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336CAE

    #336CAE

    oklch(52.6% 0.12 253.9)

  • #A44955

    #A44955

    oklch(52.6% 0.121 14.1)

  • #4C792A

    #4C792A

    oklch(52.6% 0.12 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336CAE

    #336CAE

    oklch(52.6% 0.12 253.9)

  • #994B7C

    #994B7C

    oklch(52.6% 0.12 343.6)

  • #905F00

    #905F00

    oklch(52.6% 0.111 74.1)

  • #007E59

    #007E59

    oklch(52.5% 0.112 164.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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