#33478D

Closest named color: Cobalt (#1E488F). oklch(42% 0.118 268.9), rgb(51, 71, 141).

Aa

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

About this color

#33478D is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.118 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.021 away. White text reads best on it, at 8.65:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.42:1
White text8.65:1

Values

HEX#33478D
RGBrgb(51, 71, 141)
HSLhsl(227, 47%, 38%)
OKLCHoklch(42% 0.118 268.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 #33478D 8.65:1 AAA Lc -94.0 Preferred for body text
Black text on #33478D 2.42:1 Fails Lc 14.5 Not readable
#33478D text on white 8.65:1 AAA Lc 89.4 Fine for body text
#33478D text on black 2.42:1 Fails Lc -12.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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F3

    oklch(88.5% 0.038 267.3)

  4. Step 300

    300

    #AEBFEE

    oklch(80.8% 0.069 269.3)

  5. Step 400

    400

    #849DE6

    oklch(70.6% 0.111 269)

  6. Step 500

    500

    #6683DF

    oklch(63% 0.142 268.9)

  7. Step 600

    600

    #4F6BCC

    oklch(55.6% 0.153 268.9)

  8. Step 700

    700

    #4059B1

    oklch(49.2% 0.143 268.8)

  9. Step 800

    800 (this color)

    #33478D

    oklch(42% 0.118 268.9)

  10. Step 900

    900

    #2E3E72

    oklch(37.8% 0.091 268.9)

  11. Step 950

    950

    #1B2443

    oklch(26.9% 0.059 269.9)

Export this scale for Tailwind in the Tailwind colors tool

#33478D 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)#2350900.027
Deuteranopia (no green cones)#11488C0.030
Tritanopia (no blue cones)#0057630.101
Achromatopsia (no color)#4C4C4C0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #33478D

    #33478D

    oklch(42% 0.118 268.9)

  • #604A00

    #604A00

    oklch(42% 0.086 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #33478D

    #33478D

    oklch(42% 0.118 268.9)

  • #00537B

    #00537B

    oklch(42.1% 0.095 239.1)

  • #573B84

    #573B84

    oklch(42.1% 0.119 298.9)

Open the analogous palette in the generator

Split complementary

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

  • #33478D

    #33478D

    oklch(42% 0.118 268.9)

  • #743D00

    #743D00

    oklch(42.1% 0.1 58.8)

  • #485400

    #485400

    oklch(42% 0.099 118.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #33478D

    #33478D

    oklch(42% 0.118 268.9)

  • #812D25

    #812D25

    oklch(41.9% 0.118 28.5)

  • #015E25

    #015E25

    oklch(42.1% 0.119 148.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #33478D

    #33478D

    oklch(42% 0.118 268.9)

  • #7D2B4C

    #7D2B4C

    oklch(42% 0.118 358.6)

  • #604A00

    #604A00

    oklch(42% 0.086 89.1)

  • #005B4E

    #005B4E

    oklch(42.2% 0.077 178.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #33478D 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.