#336BF9

Closest named color: Cerulean Blue (#056EEE). oklch(57.7% 0.221 264.2), rgb(51, 107, 249).

Aa

Black text reads best on this color (4.61:1).

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.221)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.61:1
White text4.55:1

Values

HEX#336BF9
RGBrgb(51, 107, 249)
HSLhsl(223, 94%, 59%)
OKLCHoklch(57.7% 0.221 264.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 #336BF9 4.55:1 AA Lc -76.4 Fine for body text
Black text on #336BF9 4.61:1 AA Lc 33.1 Non-text elements, placeholder text
#336BF9 text on white 4.55:1 AA Lc 71.0 Content text, not long reading
#336BF9 text on black 4.61:1 AA Lc -30.7 Non-text elements, placeholder text

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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  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)

    #336BF9

    oklch(57.7% 0.221 264.2)

  8. Step 700

    700

    #2152D2

    oklch(49.1% 0.204 264.1)

  9. Step 800

    800

    #1C44AA

    oklch(42.7% 0.17 264.1)

  10. Step 900

    900

    #1C3B87

    oklch(37.8% 0.133 264.2)

  11. Step 950

    950

    #11234F

    oklch(27% 0.084 264.6)

Export this scale for Tailwind in the Tailwind colors tool

#336BF9 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)#007FFE0.047
Deuteranopia (no green cones)#006DF60.021
Tritanopia (no blue cones)#008FA80.171
Achromatopsia (no color)#7676760.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #336BF9

    #336BF9

    oklch(57.7% 0.221 264.2)

  • #9A7200

    #9A7200

    oklch(57.7% 0.118 84.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336BF9

    #336BF9

    oklch(57.7% 0.221 264.2)

  • #0084B6

    #0084B6

    oklch(57.8% 0.121 234.1)

  • #8651EB

    #8651EB

    oklch(57.7% 0.22 294.3)

Open the analogous palette in the generator

Split complementary

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

  • #336BF9

    #336BF9

    oklch(57.7% 0.221 264.2)

  • #B85D00

    #B85D00

    oklch(57.7% 0.144 54.4)

  • #798100

    #798100

    oklch(57.7% 0.13 114.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336BF9

    #336BF9

    oklch(57.7% 0.221 264.2)

  • #DE1D30

    #DE1D30

    oklch(57.7% 0.221 24.1)

  • #00931F

    #00931F

    oklch(57.6% 0.185 144.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336BF9

    #336BF9

    oklch(57.7% 0.221 264.2)

  • #D22082

    #D22082

    oklch(57.6% 0.221 354)

  • #9A7200

    #9A7200

    oklch(57.7% 0.118 84.1)

  • #008E75

    #008E75

    oklch(57.7% 0.109 174.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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