#334480

Closest named color: Cobalt (#1E488F). oklch(40.5% 0.103 269.5), rgb(51, 68, 128).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.27:1
White text9.21:1

Values

HEX#334480
RGBrgb(51, 68, 128)
HSLhsl(227, 43%, 35%)
OKLCHoklch(40.5% 0.103 269.5)

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 #334480 9.21:1 AAA Lc -95.4 Preferred for body text
Black text on #334480 2.27:1 Fails Lc 12.9 Not readable
#334480 text on white 9.21:1 AAA Lc 91.0 Preferred for body text
#334480 text on black 2.27:1 Fails Lc -11.3 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF6

    oklch(93.7% 0.017 267.8)

  3. Step 200

    200

    #D0D9F0

    oklch(88.6% 0.033 268.7)

  4. Step 300

    300

    #B1C0E8

    oklch(81% 0.059 268.9)

  5. Step 400

    400

    #889EDD

    oklch(70.7% 0.096 269.1)

  6. Step 500

    500

    #6C85D4

    oklch(63.2% 0.123 269.4)

  7. Step 600

    600

    #546DC1

    oklch(55.6% 0.134 269.2)

  8. Step 700

    700

    #455BA7

    oklch(49.2% 0.124 269.3)

  9. Step 800

    800 (this color)

    #334480

    oklch(40.5% 0.103 269.5)

  10. Step 900

    900

    #313E6C

    oklch(37.6% 0.081 270.3)

  11. Step 950

    950

    #1C253F

    oklch(27% 0.05 268.4)

Export this scale for Tailwind in the Tailwind colors tool

#334480 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)#284B820.022
Deuteranopia (no green cones)#1E447F0.023
Tritanopia (no blue cones)#00515B0.091
Achromatopsia (no color)#4848480.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #334480

    #334480

    oklch(40.5% 0.103 269.5)

  • #5B4600

    #5B4600

    oklch(40.5% 0.083 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334480

    #334480

    oklch(40.5% 0.103 269.5)

  • #004E75

    #004E75

    oklch(40.4% 0.092 239.8)

  • #523A78

    #523A78

    oklch(40.6% 0.103 299.7)

Open the analogous palette in the generator

Split complementary

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

  • #334480

    #334480

    oklch(40.5% 0.103 269.5)

  • #6D3A00

    #6D3A00

    oklch(40.4% 0.095 59.9)

  • #435000

    #435000

    oklch(40.5% 0.096 119.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334480

    #334480

    oklch(40.5% 0.103 269.5)

  • #772F26

    #772F26

    oklch(40.5% 0.103 29.5)

  • #115828

    #115828

    oklch(40.6% 0.103 149.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334480

    #334480

    oklch(40.5% 0.103 269.5)

  • #732D47

    #732D47

    oklch(40.4% 0.103 359.5)

  • #5B4600

    #5B4600

    oklch(40.5% 0.083 89.1)

  • #00564A

    #00564A

    oklch(40.6% 0.074 179.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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