#336AF3

Closest named color: Cerulean Blue (#056EEE). oklch(57% 0.214 264.1), rgb(51, 106, 243).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.214)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.49:1
White text4.67:1

Values

HEX#336AF3
RGBrgb(51, 106, 243)
HSLhsl(223, 89%, 58%)
OKLCHoklch(57% 0.214 264.1)

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 #336AF3 4.67:1 AA Lc -77.3 Fine for body text
Black text on #336AF3 4.49:1 AA large text Lc 32.3 Non-text elements, placeholder text
#336AF3 text on white 4.67:1 AA Lc 71.8 Content text, not long reading
#336AF3 text on black 4.49:1 AA large text Lc -29.9 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

    #C7DAFE

    oklch(88.6% 0.054 263.2)

  4. Step 300

    300

    #A2C0FF

    oklch(80.9% 0.096 264.7)

  5. Step 400

    400

    #709DFF

    oklch(70.7% 0.152 264.2)

  6. Step 500

    500

    #4A80FF

    oklch(63.1% 0.198 264.2)

  7. Step 600

    600 (this color)

    #336AF3

    oklch(57% 0.214 264.1)

  8. Step 700

    700

    #2353CF

    oklch(49.1% 0.199 264.1)

  9. Step 800

    800

    #1E45A7

    oklch(42.7% 0.164 264.1)

  10. Step 900

    900

    #1D3B85

    oklch(37.7% 0.13 264.4)

  11. Step 950

    950

    #11244E

    oklch(27.1% 0.081 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#336AF3 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)#007DF80.046
Deuteranopia (no green cones)#006CF00.022
Tritanopia (no blue cones)#008CA40.166
Achromatopsia (no color)#7474740.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #336AF3

    #336AF3

    oklch(57% 0.214 264.1)

  • #987000

    #987000

    oklch(57% 0.117 83.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336AF3

    #336AF3

    oklch(57% 0.214 264.1)

  • #0082B3

    #0082B3

    oklch(57.2% 0.12 233.9)

  • #8351E6

    #8351E6

    oklch(57.1% 0.214 294)

Open the analogous palette in the generator

Split complementary

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

  • #336AF3

    #336AF3

    oklch(57% 0.214 264.1)

  • #B65B00

    #B65B00

    oklch(57.1% 0.143 53.9)

  • #777F00

    #777F00

    oklch(57% 0.128 114.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336AF3

    #336AF3

    oklch(57% 0.214 264.1)

  • #D92131

    #D92131

    oklch(57% 0.214 24.1)

  • #00911D

    #00911D

    oklch(57% 0.184 144.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336AF3

    #336AF3

    oklch(57% 0.214 264.1)

  • #CE2480

    #CE2480

    oklch(57.1% 0.214 354)

  • #987000

    #987000

    oklch(57% 0.117 83.7)

  • #008C73

    #008C73

    oklch(57.1% 0.108 174.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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