#336DC7

Closest named color: Mid Blue (#276AB3). oklch(54.4% 0.153 259), rgb(51, 109, 199).

Aa

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

About this color

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

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

Values

HEX#336DC7
RGBrgb(51, 109, 199)
HSLhsl(216, 59%, 49%)
OKLCHoklch(54.4% 0.153 259)

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 #336DC7 5.05:1 AA Lc -79.9 Fine for body text
Black text on #336DC7 4.15:1 AA large text Lc 29.5 Dividers and decoration only
#336DC7 text on white 5.05:1 AA Lc 74.5 Content text, not long reading
#336DC7 text on black 4.15:1 AA large text Lc -27.2 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

    #CADAF3

    oklch(88.4% 0.039 259.3)

  4. Step 300

    300

    #A6C2EE

    oklch(80.9% 0.07 259.3)

  5. Step 400

    400

    #76A2E5

    oklch(70.8% 0.11 258.6)

  6. Step 500

    500

    #5389DD

    oklch(63.2% 0.14 258.9)

  7. Step 600

    600 (this color)

    #336DC7

    oklch(54.4% 0.153 259)

  8. Step 700

    700

    #295EB0

    oklch(49.2% 0.142 259)

  9. Step 800

    800

    #234D8E

    oklch(42.7% 0.118 259)

  10. Step 900

    900

    #224172

    oklch(37.8% 0.092 259.2)

  11. Step 950

    950

    #142642

    oklch(26.9% 0.058 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#336DC7 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)#3F76CA0.028
Deuteranopia (no green cones)#1F68C50.021
Tritanopia (no blue cones)#0082900.119
Achromatopsia (no color)#6F6F6F0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #336DC7

    #336DC7

    oklch(54.4% 0.153 259)

  • #936600

    #936600

    oklch(54.3% 0.113 78.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336DC7

    #336DC7

    oklch(54.4% 0.153 259)

  • #007BA1

    #007BA1

    oklch(54.5% 0.107 228.5)

  • #6F5CC2

    #6F5CC2

    oklch(54.4% 0.153 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #336DC7

    #336DC7

    oklch(54.4% 0.153 259)

  • #B04F00

    #B04F00

    oklch(54.3% 0.146 48.9)

  • #767500

    #767500

    oklch(54.5% 0.118 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336DC7

    #336DC7

    oklch(54.4% 0.153 259)

  • #B8414B

    #B8414B

    oklch(54.4% 0.153 19)

  • #39841F

    #39841F

    oklch(54.5% 0.153 139.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336DC7

    #336DC7

    oklch(54.4% 0.153 259)

  • #AD437E

    #AD437E

    oklch(54.4% 0.153 348.9)

  • #936600

    #936600

    oklch(54.3% 0.113 78.4)

  • #008465

    #008465

    oklch(54.5% 0.109 169)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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