#334671

Closest named color: Dark Grey Blue (#29465B). oklch(39.9% 0.077 265.1), rgb(51, 70, 113).

Aa

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

About this color

#334671 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.077 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.041 away. White text reads best on it, at 9.31:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.25:1
White text9.31:1

Values

HEX#334671
RGBrgb(51, 70, 113)
HSLhsl(222, 38%, 32%)
OKLCHoklch(39.9% 0.077 265.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 #334671 9.31:1 AAA Lc -95.7 Preferred for body text
Black text on #334671 2.25:1 Fails Lc 12.6 Not readable
#334671 text on white 9.31:1 AAA Lc 91.4 Preferred for body text
#334671 text on black 2.25:1 Fails Lc -11.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 900.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CFD9EF

    oklch(88.4% 0.032 266.1)

  4. Step 300

    300

    #AFC1E7

    oklch(81% 0.057 265.2)

  5. Step 400

    400

    #84A0DB

    oklch(70.7% 0.092 264.6)

  6. Step 500

    500

    #6687D1

    oklch(63.1% 0.118 265)

  7. Step 600

    600

    #4E70BE

    oklch(55.7% 0.128 264.8)

  8. Step 700

    700

    #3F5DA4

    oklch(49.1% 0.119 265.1)

  9. Step 800

    800

    #344C85

    oklch(42.7% 0.099 265.2)

  10. Step 900

    900 (this color)

    #334671

    oklch(39.9% 0.077 265.1)

  11. Step 950

    950

    #1B263E

    oklch(27.1% 0.048 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#334671 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)#354A730.013
Deuteranopia (no green cones)#2E44700.010
Tritanopia (no blue cones)#154F560.068
Achromatopsia (no color)#4747470.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #334671

    #334671

    oklch(39.9% 0.077 265.1)

  • #5A4409

    #5A4409

    oklch(40% 0.077 86)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334671

    #334671

    oklch(39.9% 0.077 265.1)

  • #104D6B

    #104D6B

    oklch(39.8% 0.077 235.7)

  • #4B3E6C

    #4B3E6C

    oklch(39.9% 0.077 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #334671

    #334671

    oklch(39.9% 0.077 265.1)

  • #673B1A

    #673B1A

    oklch(39.9% 0.077 55)

  • #464C15

    #464C15

    oklch(39.9% 0.076 115.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334671

    #334671

    oklch(39.9% 0.077 265.1)

  • #6B3632

    #6B3632

    oklch(40% 0.076 25.5)

  • #2A522D

    #2A522D

    oklch(39.9% 0.076 145.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334671

    #334671

    oklch(39.9% 0.077 265.1)

  • #67354A

    #67354A

    oklch(40% 0.076 354.5)

  • #5A4409

    #5A4409

    oklch(40% 0.077 86)

  • #005445

    #005445

    oklch(39.8% 0.075 175.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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