#334A85

Closest named color: Dusk Blue (#26538D). oklch(42.2% 0.102 266.1), rgb(51, 74, 133).

Aa

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

About this color

#334A85 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.102 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.028 away. White text reads best on it, at 8.54:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.45:1
White text8.54:1

Values

HEX#334A85
RGBrgb(51, 74, 133)
HSLhsl(223, 45%, 36%)
OKLCHoklch(42.2% 0.102 266.1)

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 #334A85 8.54:1 AAA Lc -93.7 Preferred for body text
Black text on #334A85 2.45:1 Fails Lc 14.8 Not readable
#334A85 text on white 8.54:1 AAA Lc 89.2 Fine for body text
#334A85 text on black 2.45:1 Fails Lc -13.0 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

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CFD9F0

    oklch(88.5% 0.033 266.9)

  4. Step 300

    300

    #AFC0E8

    oklch(80.8% 0.06 267)

  5. Step 400

    400

    #859FDD

    oklch(70.7% 0.096 266.5)

  6. Step 500

    500

    #6786D3

    oklch(63% 0.122 266.4)

  7. Step 600

    600

    #4E6FC1

    oklch(55.7% 0.133 265.8)

  8. Step 700

    700

    #3F5CA6

    oklch(49% 0.123 265.9)

  9. Step 800

    800 (this color)

    #334A85

    oklch(42.2% 0.102 266.1)

  10. Step 900

    900

    #2E3F6C

    oklch(37.6% 0.08 266.9)

  11. Step 950

    950

    #1B253F

    oklch(26.9% 0.051 267)

Export this scale for Tailwind in the Tailwind colors tool

#334A85 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)#3050870.017
Deuteranopia (no green cones)#2449840.017
Tritanopia (no blue cones)#0057610.088
Achromatopsia (no color)#4C4C4C0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #334A85

    #334A85

    oklch(42.2% 0.102 266.1)

  • #624900

    #624900

    oklch(42.1% 0.086 86)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334A85

    #334A85

    oklch(42.2% 0.102 266.1)

  • #005478

    #005478

    oklch(42.2% 0.091 236)

  • #53407E

    #53407E

    oklch(42.2% 0.101 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #334A85

    #334A85

    oklch(42.2% 0.102 266.1)

  • #763C01

    #763C01

    oklch(42.2% 0.102 56.6)

  • #4B5300

    #4B5300

    oklch(42.1% 0.096 116)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334A85

    #334A85

    oklch(42.2% 0.102 266.1)

  • #7C332F

    #7C332F

    oklch(42.1% 0.103 25.6)

  • #205C29

    #205C29

    oklch(42.2% 0.102 146.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334A85

    #334A85

    oklch(42.2% 0.102 266.1)

  • #77324F

    #77324F

    oklch(42.1% 0.102 356)

  • #624900

    #624900

    oklch(42.1% 0.086 86)

  • #005B4C

    #005B4C

    oklch(42.1% 0.078 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 #334A85, closest first.

Similar named colors

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

Use #334A85 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.