#336BEE

Closest named color: Cerulean Blue (#056EEE). oklch(56.8% 0.207 263.6), rgb(51, 107, 238).

Aa

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

About this color

#336BEE is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.207 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.020 away. White text reads best on it, at 4.68:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.207)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.47:1
White text4.68:1

Values

HEX#336BEE
RGBrgb(51, 107, 238)
HSLhsl(222, 85%, 57%)
OKLCHoklch(56.8% 0.207 263.6)

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 #336BEE 4.68:1 AA Lc -77.4 Fine for body text
Black text on #336BEE 4.47:1 AA large text Lc 32.1 Non-text elements, placeholder text
#336BEE text on white 4.68:1 AA Lc 72.0 Content text, not long reading
#336BEE text on black 4.47:1 AA large text Lc -29.7 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C8DAFC

    oklch(88.6% 0.051 263.2)

  4. Step 300

    300

    #A2C1FD

    oklch(81% 0.092 263.3)

  5. Step 400

    400

    #709DFD

    oklch(70.6% 0.149 264)

  6. Step 500

    500

    #4B81FB

    oklch(63% 0.191 263.8)

  7. Step 600

    600 (this color)

    #336BEE

    oklch(56.8% 0.207 263.6)

  8. Step 700

    700

    #2355CB

    oklch(49.2% 0.191 263.5)

  9. Step 800

    800

    #1E46A4

    oklch(42.7% 0.159 263.6)

  10. Step 900

    900

    #1D3C82

    oklch(37.6% 0.124 263.6)

  11. Step 950

    950

    #12244C

    oklch(27% 0.078 263.8)

Export this scale for Tailwind in the Tailwind colors tool

#336BEE 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)#007DF30.044
Deuteranopia (no green cones)#006CEB0.022
Tritanopia (no blue cones)#008CA20.162
Achromatopsia (no color)#7474740.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #336BEE

    #336BEE

    oklch(56.8% 0.207 263.6)

  • #976F00

    #976F00

    oklch(56.7% 0.116 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336BEE

    #336BEE

    oklch(56.8% 0.207 263.6)

  • #0081B1

    #0081B1

    oklch(56.8% 0.118 233.6)

  • #8153E2

    #8153E2

    oklch(56.9% 0.206 293.6)

Open the analogous palette in the generator

Split complementary

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

  • #336BEE

    #336BEE

    oklch(56.8% 0.207 263.6)

  • #B55A00

    #B55A00

    oklch(56.8% 0.143 53.6)

  • #777E00

    #777E00

    oklch(56.8% 0.127 113.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336BEE

    #336BEE

    oklch(56.8% 0.207 263.6)

  • #D52835

    #D52835

    oklch(56.7% 0.206 23.7)

  • #009017

    #009017

    oklch(56.7% 0.186 143.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336BEE

    #336BEE

    oklch(56.8% 0.207 263.6)

  • #CA2A80

    #CA2A80

    oklch(56.8% 0.207 353.5)

  • #976F00

    #976F00

    oklch(56.7% 0.116 83.5)

  • #008B71

    #008B71

    oklch(56.8% 0.109 173.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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