#334575

Closest named color: Twilight Blue (#0A437A). oklch(40% 0.084 267), rgb(51, 69, 117).

Aa

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

About this color

#334575 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.084 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.039 away. White text reads best on it, at 9.33:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.24:1
White text9.33:1

Values

HEX#334575
RGBrgb(51, 69, 117)
HSLhsl(224, 39%, 33%)
OKLCHoklch(40% 0.084 267)

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 #334575 9.33:1 AAA Lc -95.8 Preferred for body text
Black text on #334575 2.24:1 Fails Lc 12.5 Not readable
#334575 text on white 9.33:1 AAA Lc 91.4 Preferred for body text
#334575 text on black 2.24:1 Fails Lc -10.9 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 900.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CFD9F1

    oklch(88.5% 0.035 267.6)

  4. Step 300

    300

    #AEC0EB

    oklch(80.9% 0.064 267.2)

  5. Step 400

    400

    #849FE0

    oklch(70.8% 0.1 266.6)

  6. Step 500

    500

    #6685D8

    oklch(63.1% 0.13 267.2)

  7. Step 600

    600

    #4E6DC5

    oklch(55.5% 0.141 267.1)

  8. Step 700

    700

    #3F5BAA

    oklch(49.1% 0.13 266.9)

  9. Step 800

    800

    #344B8A

    oklch(42.8% 0.108 266.8)

  10. Step 900

    900 (this color)

    #334575

    oklch(40% 0.084 267)

  11. Step 950

    950

    #1B2541

    oklch(27% 0.054 267.8)

Export this scale for Tailwind in the Tailwind colors tool

#334575 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)#314A770.015
Deuteranopia (no green cones)#2A44740.012
Tritanopia (no blue cones)#104F570.075
Achromatopsia (no color)#4747470.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #334575

    #334575

    oklch(40% 0.084 267)

  • #5A4400

    #5A4400

    oklch(39.9% 0.082 87.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334575

    #334575

    oklch(40% 0.084 267)

  • #064D6F

    #064D6F

    oklch(39.9% 0.085 237.4)

  • #4D3D6F

    #4D3D6F

    oklch(40% 0.084 297.2)

Open the analogous palette in the generator

Split complementary

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

  • #334575

    #334575

    oklch(40% 0.084 267)

  • #693A11

    #693A11

    oklch(39.9% 0.085 57.1)

  • #454D0D

    #454D0D

    oklch(40% 0.084 116.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334575

    #334575

    oklch(40% 0.084 267)

  • #6E332E

    #6E332E

    oklch(39.9% 0.085 26.5)

  • #24542B

    #24542B

    oklch(40.1% 0.085 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334575

    #334575

    oklch(40% 0.084 267)

  • #6B3248

    #6B3248

    oklch(40% 0.085 357.3)

  • #5A4400

    #5A4400

    oklch(39.9% 0.082 87.6)

  • #005447

    #005447

    oklch(39.9% 0.074 177.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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