#336ED4

Closest named color: Royal Blue (#4169E1). oklch(55.5% 0.169 260.5), rgb(51, 110, 212).

Aa

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

About this color

#336ED4 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.169 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.027 away. White text reads best on it, at 4.85:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.169)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.32:1
White text4.85:1

Values

HEX#336ED4
RGBrgb(51, 110, 212)
HSLhsl(218, 65%, 52%)
OKLCHoklch(55.5% 0.169 260.5)

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 #336ED4 4.85:1 AA Lc -78.7 Fine for body text
Black text on #336ED4 4.32:1 AA large text Lc 30.8 Non-text elements, placeholder text
#336ED4 text on white 4.85:1 AA Lc 73.2 Content text, not long reading
#336ED4 text on black 4.32:1 AA large text Lc -28.4 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #C9DAF6

    oklch(88.4% 0.043 260.4)

  4. Step 300

    300

    #A5C2F2

    oklch(80.9% 0.075 260.4)

  5. Step 400

    400

    #74A1EC

    oklch(70.8% 0.121 260.2)

  6. Step 500

    500

    #4F87E6

    oklch(63.1% 0.155 260.3)

  7. Step 600

    600 (this color)

    #336ED4

    oklch(55.5% 0.169 260.5)

  8. Step 700

    700

    #265CB8

    oklch(49.2% 0.157 260.4)

  9. Step 800

    800

    #214B95

    oklch(42.6% 0.131 260.8)

  10. Step 900

    900

    #204077

    oklch(37.8% 0.101 260.5)

  11. Step 950

    950

    #132645

    oklch(27.1% 0.063 259.7)

Export this scale for Tailwind in the Tailwind colors tool

#336ED4 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)#3479D80.029
Deuteranopia (no green cones)#006AD20.027
Tritanopia (no blue cones)#0086970.131
Achromatopsia (no color)#7171710.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #336ED4

    #336ED4

    oklch(55.5% 0.169 260.5)

  • #956A00

    #956A00

    oklch(55.4% 0.115 80.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336ED4

    #336ED4

    oklch(55.5% 0.169 260.5)

  • #007EA8

    #007EA8

    oklch(55.6% 0.112 230.6)

  • #755BCD

    #755BCD

    oklch(55.5% 0.169 290.3)

Open the analogous palette in the generator

Split complementary

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

  • #336ED4

    #336ED4

    oklch(55.5% 0.169 260.5)

  • #B35400

    #B35400

    oklch(55.5% 0.145 50.8)

  • #777900

    #777900

    oklch(55.6% 0.122 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336ED4

    #336ED4

    oklch(55.5% 0.169 260.5)

  • #C23D47

    #C23D47

    oklch(55.5% 0.169 20.4)

  • #2D8917

    #2D8917

    oklch(55.4% 0.169 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336ED4

    #336ED4

    oklch(55.5% 0.169 260.5)

  • #B73E80

    #B73E80

    oklch(55.5% 0.169 350.3)

  • #956A00

    #956A00

    oklch(55.4% 0.115 80.5)

  • #00876A

    #00876A

    oklch(55.5% 0.109 170.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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