#335474

Closest named color: YInMn Blue (#415A77). oklch(43.5% 0.066 248.8), rgb(51, 84, 116).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.066)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.66:1
White text7.89:1

Values

HEX#335474
RGBrgb(51, 84, 116)
HSLhsl(210, 39%, 33%)
OKLCHoklch(43.5% 0.066 248.8)

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 #335474 7.89:1 AAA Lc -92.0 Preferred for body text
Black text on #335474 2.66:1 Fails Lc 16.7 Dividers and decoration only
#335474 text on white 7.89:1 AAA Lc 87.3 Fine for body text
#335474 text on black 2.66:1 Fails Lc -14.8 Not readable

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

    #CFDBE7

    oklch(88.6% 0.021 248.1)

  4. Step 300

    300

    #AEC3D9

    oklch(80.8% 0.039 249.5)

  5. Step 400

    400

    #83A4C6

    oklch(70.6% 0.062 249.5)

  6. Step 500

    500

    #638EB7

    oklch(63.2% 0.078 248)

  7. Step 600

    600

    #4977A3

    oklch(55.5% 0.086 248.6)

  8. Step 700

    700

    #3B648C

    oklch(49.1% 0.079 249.2)

  9. Step 800

    800 (this color)

    #335474

    oklch(43.5% 0.066 248.8)

  10. Step 900

    900

    #2B445C

    oklch(37.7% 0.052 248.4)

  11. Step 950

    950

    #1A2836

    oklch(27.1% 0.032 249.1)

Export this scale for Tailwind in the Tailwind colors tool

#335474 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)#4755750.026
Deuteranopia (no green cones)#3E4E730.021
Tritanopia (no blue cones)#0C5B5F0.056
Achromatopsia (no color)#5151510.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #335474

    #335474

    oklch(43.5% 0.066 248.8)

  • #694A26

    #694A26

    oklch(43.5% 0.066 68.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335474

    #335474

    oklch(43.5% 0.066 248.8)

  • #1D5A6A

    #1D5A6A

    oklch(43.6% 0.066 218.7)

  • #494D75

    #494D75

    oklch(43.4% 0.066 278.9)

Open the analogous palette in the generator

Split complementary

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

  • #335474

    #335474

    oklch(43.5% 0.066 248.8)

  • #704436

    #704436

    oklch(43.5% 0.065 38.4)

  • #5A5224

    #5A5224

    oklch(43.6% 0.066 99.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335474

    #335474

    oklch(43.5% 0.066 248.8)

  • #70414A

    #70414A

    oklch(43.4% 0.066 7.8)

  • #465830

    #465830

    oklch(43.4% 0.065 128.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335474

    #335474

    oklch(43.5% 0.066 248.8)

  • #69435D

    #69435D

    oklch(43.6% 0.065 339.2)

  • #694A26

    #694A26

    oklch(43.5% 0.066 68.6)

  • #2E5C44

    #2E5C44

    oklch(43.4% 0.065 159.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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