#335778

Closest named color: YInMn Blue (#415A77). oklch(44.5% 0.069 247.6), rgb(51, 87, 120).

Aa

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

About this color

#335778 is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.069 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.020 away. White text reads best on it, at 7.56:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.069)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.77:1
White text7.56:1

Values

HEX#335778
RGBrgb(51, 87, 120)
HSLhsl(209, 40%, 34%)
OKLCHoklch(44.5% 0.069 247.6)

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 #335778 7.56:1 AAA Lc -91.0 Preferred for body text
Black text on #335778 2.77:1 Fails Lc 17.8 Dividers and decoration only
#335778 text on white 7.56:1 AAA Lc 86.2 Fine for body text
#335778 text on black 2.77:1 Fails Lc -15.9 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 800.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CEDBE7

    oklch(88.5% 0.022 245.9)

  4. Step 300

    300

    #ADC4DA

    oklch(81% 0.04 247.1)

  5. Step 400

    400

    #81A5C7

    oklch(70.8% 0.064 247.3)

  6. Step 500

    500

    #608EB9

    oklch(63.1% 0.082 247.6)

  7. Step 600

    600

    #4678A5

    oklch(55.7% 0.089 247.3)

  8. Step 700

    700

    #37648D

    oklch(49% 0.083 247.8)

  9. Step 800

    800 (this color)

    #335778

    oklch(44.5% 0.069 247.6)

  10. Step 900

    900

    #29445D

    oklch(37.7% 0.054 247.6)

  11. Step 950

    950

    #192836

    oklch(27% 0.033 247.4)

Export this scale for Tailwind in the Tailwind colors tool

#335778 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)#4958790.028
Deuteranopia (no green cones)#4051770.022
Tritanopia (no blue cones)#025F620.060
Achromatopsia (no color)#5454540.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #335778

    #335778

    oklch(44.5% 0.069 247.6)

  • #6D4C27

    #6D4C27

    oklch(44.4% 0.069 67.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335778

    #335778

    oklch(44.5% 0.069 247.6)

  • #1B5D6D

    #1B5D6D

    oklch(44.5% 0.069 217.5)

  • #4B507A

    #4B507A

    oklch(44.5% 0.069 278)

Open the analogous palette in the generator

Split complementary

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

  • #335778

    #335778

    oklch(44.5% 0.069 247.6)

  • #754638

    #754638

    oklch(44.6% 0.069 37.4)

  • #5E5424

    #5E5424

    oklch(44.5% 0.068 97.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335778

    #335778

    oklch(44.5% 0.069 247.6)

  • #74434D

    #74434D

    oklch(44.4% 0.069 7.1)

  • #495B30

    #495B30

    oklch(44.5% 0.069 127.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335778

    #335778

    oklch(44.5% 0.069 247.6)

  • #6C4561

    #6C4561

    oklch(44.5% 0.067 337.7)

  • #6D4C27

    #6D4C27

    oklch(44.4% 0.069 67.6)

  • #305F45

    #305F45

    oklch(44.4% 0.068 157.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #335778 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.