#334573

Closest named color: Twilight Blue (#0A437A). oklch(39.8% 0.081 266.6), rgb(51, 69, 115).

Aa

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

About this color

#334573 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.081 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.37:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.23:1
White text9.37:1

Values

HEX#334573
RGBrgb(51, 69, 115)
HSLhsl(223, 39%, 33%)
OKLCHoklch(39.8% 0.081 266.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 #334573 9.37:1 AAA Lc -95.9 Preferred for body text
Black text on #334573 2.23:1 Fails Lc 12.4 Not readable
#334573 text on white 9.37:1 AAA Lc 91.5 Preferred for body text
#334573 text on black 2.23:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CFD9F0

    oklch(88.5% 0.033 266.9)

  4. Step 300

    300

    #AFC0E9

    oklch(80.9% 0.061 267.4)

  5. Step 400

    400

    #859FDE

    oklch(70.7% 0.097 266.7)

  6. Step 500

    500

    #6786D5

    oklch(63.2% 0.125 266.7)

  7. Step 600

    600

    #4F6EC2

    oklch(55.6% 0.135 266.8)

  8. Step 700

    700

    #405CA8

    oklch(49.2% 0.126 266.6)

  9. Step 800

    800

    #354B88

    oklch(42.7% 0.105 267)

  10. Step 900

    900 (this color)

    #334573

    oklch(39.8% 0.081 266.6)

  11. Step 950

    950

    #1B2540

    oklch(27% 0.052 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#334573 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)#334A750.015
Deuteranopia (no green cones)#2B44720.011
Tritanopia (no blue cones)#134F560.073
Achromatopsia (no color)#4646460.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #334573

    #334573

    oklch(39.8% 0.081 266.6)

  • #5A4300

    #5A4300

    oklch(39.7% 0.081 86.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334573

    #334573

    oklch(39.8% 0.081 266.6)

  • #0B4D6D

    #0B4D6D

    oklch(39.8% 0.081 236.5)

  • #4C3D6E

    #4C3D6E

    oklch(39.9% 0.082 296.6)

Open the analogous palette in the generator

Split complementary

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

  • #334573

    #334573

    oklch(39.8% 0.081 266.6)

  • #683A15

    #683A15

    oklch(39.8% 0.082 55.9)

  • #454C10

    #454C10

    oklch(39.7% 0.081 116)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334573

    #334573

    oklch(39.8% 0.081 266.6)

  • #6C342F

    #6C342F

    oklch(39.7% 0.081 26.6)

  • #26532C

    #26532C

    oklch(39.9% 0.081 146.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334573

    #334573

    oklch(39.8% 0.081 266.6)

  • #693348

    #693348

    oklch(39.9% 0.081 356.8)

  • #5A4300

    #5A4300

    oklch(39.7% 0.081 86.3)

  • #005446

    #005446

    oklch(39.8% 0.074 176.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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