#336BC5

Closest named color: Mid Blue (#276AB3). oklch(53.8% 0.152 259.5), rgb(51, 107, 197).

Aa

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

About this color

#336BC5 is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.152 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.030 away. White text reads best on it, at 5.18:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.152)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.05:1
White text5.18:1

Values

HEX#336BC5
RGBrgb(51, 107, 197)
HSLhsl(217, 59%, 49%)
OKLCHoklch(53.8% 0.152 259.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 #336BC5 5.18:1 AA Lc -80.7 Fine for body text
Black text on #336BC5 4.05:1 AA large text Lc 28.8 Dividers and decoration only
#336BC5 text on white 5.18:1 AA Lc 75.3 Fine for body text
#336BC5 text on black 4.05:1 AA large text Lc -26.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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CBDAF3

    oklch(88.5% 0.038 260.7)

  4. Step 300

    300

    #A7C2EE

    oklch(80.9% 0.069 260.1)

  5. Step 400

    400

    #77A1E5

    oklch(70.6% 0.11 259.7)

  6. Step 500

    500

    #5488DD

    oklch(63% 0.14 259.8)

  7. Step 600

    600 (this color)

    #336BC5

    oklch(53.8% 0.152 259.5)

  8. Step 700

    700

    #2B5EB0

    oklch(49.2% 0.142 259.6)

  9. Step 800

    800

    #244D8E

    oklch(42.7% 0.117 259.3)

  10. Step 900

    900

    #224171

    oklch(37.8% 0.09 258.9)

  11. Step 950

    950

    #152642

    oklch(27% 0.057 259.9)

Export this scale for Tailwind in the Tailwind colors tool

#336BC5 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)#3C74C80.027
Deuteranopia (no green cones)#1C67C30.021
Tritanopia (no blue cones)#00808E0.120
Achromatopsia (no color)#6D6D6D0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #336BC5

    #336BC5

    oklch(53.8% 0.152 259.5)

  • #906500

    #906500

    oklch(53.8% 0.112 79.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336BC5

    #336BC5

    oklch(53.8% 0.152 259.5)

  • #0079A0

    #0079A0

    oklch(53.9% 0.107 229.6)

  • #6E5ABF

    #6E5ABF

    oklch(53.7% 0.152 289.4)

Open the analogous palette in the generator

Split complementary

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

  • #336BC5

    #336BC5

    oklch(53.8% 0.152 259.5)

  • #AD4F00

    #AD4F00

    oklch(53.8% 0.143 49.7)

  • #737300

    #737300

    oklch(53.8% 0.117 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336BC5

    #336BC5

    oklch(53.8% 0.152 259.5)

  • #B64049

    #B64049

    oklch(53.9% 0.153 19.5)

  • #36821E

    #36821E

    oklch(53.8% 0.153 139.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336BC5

    #336BC5

    oklch(53.8% 0.152 259.5)

  • #AB417B

    #AB417B

    oklch(53.8% 0.152 349.5)

  • #906500

    #906500

    oklch(53.8% 0.112 79.4)

  • #008264

    #008264

    oklch(53.9% 0.108 169.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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