#336DBC

Closest named color: Mid Blue (#276AB3). oklch(53.7% 0.138 256.9), rgb(51, 109, 188).

Aa

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

About this color

#336DBC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.138 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.019 away. White text reads best on it, at 5.17:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.138)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.05:1
White text5.17:1

Values

HEX#336DBC
RGBrgb(51, 109, 188)
HSLhsl(215, 57%, 47%)
OKLCHoklch(53.7% 0.138 256.9)

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 #336DBC 5.17:1 AA Lc -80.7 Fine for body text
Black text on #336DBC 4.05:1 AA large text Lc 28.8 Dividers and decoration only
#336DBC text on white 5.17:1 AA Lc 75.3 Fine for body text
#336DBC 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CBDAF0

    oklch(88.4% 0.034 257.9)

  4. Step 300

    300

    #A7C3E9

    oklch(80.9% 0.062 256.1)

  5. Step 400

    400

    #78A3DE

    oklch(70.8% 0.099 256.5)

  6. Step 500

    500

    #558AD5

    oklch(63% 0.127 257.2)

  7. Step 600

    600 (this color)

    #336DBC

    oklch(53.7% 0.138 256.9)

  8. Step 700

    700

    #2B60A8

    oklch(49.1% 0.129 256.9)

  9. Step 800

    800

    #254F88

    oklch(42.8% 0.106 256.8)

  10. Step 900

    900

    #23426D

    oklch(37.8% 0.083 257)

  11. Step 950

    950

    #152740

    oklch(27.1% 0.053 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#336DBC 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)#4774BF0.029
Deuteranopia (no green cones)#3067BA0.017
Tritanopia (no blue cones)#007F8B0.107
Achromatopsia (no color)#6D6D6D0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #336DBC

    #336DBC

    oklch(53.7% 0.138 256.9)

  • #926300

    #926300

    oklch(53.6% 0.112 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336DBC

    #336DBC

    oklch(53.7% 0.138 256.9)

  • #00799C

    #00799C

    oklch(53.7% 0.104 226.8)

  • #6A5EB9

    #6A5EB9

    oklch(53.7% 0.138 286.8)

Open the analogous palette in the generator

Split complementary

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

  • #336DBC

    #336DBC

    oklch(53.7% 0.138 256.9)

  • #AC4F15

    #AC4F15

    oklch(53.7% 0.138 47.1)

  • #767100

    #767100

    oklch(53.6% 0.115 106.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336DBC

    #336DBC

    oklch(53.7% 0.138 256.9)

  • #AF4650

    #AF4650

    oklch(53.7% 0.137 17.3)

  • #437F24

    #437F24

    oklch(53.6% 0.138 136.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336DBC

    #336DBC

    oklch(53.7% 0.138 256.9)

  • #A4477D

    #A4477D

    oklch(53.6% 0.138 346.8)

  • #926300

    #926300

    oklch(53.6% 0.112 76.4)

  • #008160

    #008160

    oklch(53.5% 0.109 167.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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