#336AD6

Closest named color: Royal Blue (#4169E1). oklch(54.8% 0.176 262.1), rgb(51, 106, 214).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.176)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.17:1
White text5.03:1

Values

HEX#336AD6
RGBrgb(51, 106, 214)
HSLhsl(220, 67%, 52%)
OKLCHoklch(54.8% 0.176 262.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 #336AD6 5.03:1 AA Lc -79.7 Fine for body text
Black text on #336AD6 4.17:1 AA large text Lc 29.8 Dividers and decoration only
#336AD6 text on white 5.03:1 AA Lc 74.3 Content text, not long reading
#336AD6 text on black 4.17:1 AA large text Lc -27.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

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CADAF7

    oklch(88.5% 0.044 262.4)

  4. Step 300

    300

    #A5C1F5

    oklch(80.9% 0.08 262.6)

  5. Step 400

    400

    #74A0F0

    oklch(70.8% 0.127 261.7)

  6. Step 500

    500

    #5185EA

    oklch(63% 0.162 262.2)

  7. Step 600

    600 (this color)

    #336AD6

    oklch(54.8% 0.176 262.1)

  8. Step 700

    700

    #285ABC

    oklch(49.1% 0.164 262)

  9. Step 800

    800

    #224A98

    oklch(42.7% 0.136 262)

  10. Step 900

    900

    #213F79

    oklch(37.8% 0.105 262.1)

  11. Step 950

    950

    #142547

    oklch(27% 0.067 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#336AD6 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)#2677DA0.033
Deuteranopia (no green cones)#0068D40.025
Tritanopia (no blue cones)#0084960.138
Achromatopsia (no color)#6F6F6F0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #336AD6

    #336AD6

    oklch(54.8% 0.176 262.1)

  • #916900

    #916900

    oklch(54.7% 0.113 82.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336AD6

    #336AD6

    oklch(54.8% 0.176 262.1)

  • #007BA7

    #007BA7

    oklch(54.8% 0.112 232.4)

  • #7656CD

    #7656CD

    oklch(54.8% 0.176 291.9)

Open the analogous palette in the generator

Split complementary

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

  • #336AD6

    #336AD6

    oklch(54.8% 0.176 262.1)

  • #AE5400

    #AE5400

    oklch(54.8% 0.14 52.2)

  • #737700

    #737700

    oklch(54.7% 0.121 112.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336AD6

    #336AD6

    oklch(54.8% 0.176 262.1)

  • #C3363F

    #C3363F

    oklch(54.8% 0.177 22)

  • #1A8911

    #1A8911

    oklch(54.9% 0.177 142.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336AD6

    #336AD6

    oklch(54.8% 0.176 262.1)

  • #B8387C

    #B8387C

    oklch(54.8% 0.176 351.8)

  • #916900

    #916900

    oklch(54.7% 0.113 82.2)

  • #00856A

    #00856A

    oklch(54.9% 0.107 171.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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