#336DA1

Closest named color: Muted Blue (#3B719F). oklch(52.1% 0.102 248.2), rgb(51, 109, 161).

Aa

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

About this color

#336DA1 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.102 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Muted Blue (#3B719F), ΔE 0.016 away. White text reads best on it, at 5.46:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameMuted Blue (#3B719F)
Black text3.84:1
White text5.46:1

Values

HEX#336DA1
RGBrgb(51, 109, 161)
HSLhsl(208, 52%, 42%)
OKLCHoklch(52.1% 0.102 248.2)

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 #336DA1 5.46:1 AA Lc -82.3 Fine for body text
Black text on #336DA1 3.84:1 AA large text Lc 27.0 Dividers and decoration only
#336DA1 text on white 5.46:1 AA Lc 77.0 Fine for body text
#336DA1 text on black 3.84:1 AA large text Lc -24.7 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 700.

  1. Step 50

    50

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF3

    oklch(93.6% 0.014 248)

  3. Step 200

    200

    #CBDBEB

    oklch(88.4% 0.028 248.1)

  4. Step 300

    300

    #A8C4E0

    oklch(80.9% 0.05 248.4)

  5. Step 400

    400

    #79A5D0

    oklch(70.6% 0.079 248.4)

  6. Step 500

    500

    #558EC4

    oklch(63% 0.102 248.5)

  7. Step 600

    600

    #3878B0

    oklch(55.7% 0.109 247.6)

  8. Step 700

    700 (this color)

    #336DA1

    oklch(52.1% 0.102 248.2)

  9. Step 800

    800

    #24527B

    oklch(42.7% 0.085 248.1)

  10. Step 900

    900

    #234463

    oklch(37.7% 0.066 248.6)

  11. Step 950

    950

    #15283A

    oklch(27% 0.042 248.4)

Export this scale for Tailwind in the Tailwind colors tool

#336DA1 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)#566FA30.039
Deuteranopia (no green cones)#4765A00.028
Tritanopia (no blue cones)#0079800.076
Achromatopsia (no color)#6969690.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #336DA1

    #336DA1

    oklch(52.1% 0.102 248.2)

  • #8F5C1A

    #8F5C1A

    oklch(51.9% 0.102 67.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336DA1

    #336DA1

    oklch(52.1% 0.102 248.2)

  • #00758D

    #00758D

    oklch(52% 0.094 218.7)

  • #5C62A3

    #5C62A3

    oklch(52.1% 0.102 278.2)

Open the analogous palette in the generator

Split complementary

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

  • #336DA1

    #336DA1

    oklch(52.1% 0.102 248.2)

  • #9A523B

    #9A523B

    oklch(52% 0.102 38.4)

  • #79690F

    #79690F

    oklch(52.1% 0.103 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336DA1

    #336DA1

    oklch(52.1% 0.102 248.2)

  • #9A4E5E

    #9A4E5E

    oklch(52.1% 0.102 7.9)

  • #58742E

    #58742E

    oklch(52.1% 0.103 127.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336DA1

    #336DA1

    oklch(52.1% 0.102 248.2)

  • #8F507D

    #8F507D

    oklch(52.1% 0.103 338.6)

  • #8F5C1A

    #8F5C1A

    oklch(51.9% 0.102 67.9)

  • #287B52

    #287B52

    oklch(52.2% 0.103 157.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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