#334870

Closest named color: Dark Grey Blue (#29465B). oklch(40.4% 0.073 262.5), rgb(51, 72, 112).

Aa

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

About this color

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

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

Values

HEX#334870
RGBrgb(51, 72, 112)
HSLhsl(219, 37%, 32%)
OKLCHoklch(40.4% 0.073 262.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 #334870 9.12:1 AAA Lc -95.3 Preferred for body text
Black text on #334870 2.30:1 Fails Lc 13.1 Not readable
#334870 text on white 9.12:1 AAA Lc 90.9 Preferred for body text
#334870 text on black 2.30:1 Fails Lc -11.4 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

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D1DAE9

    oklch(88.6% 0.023 260.7)

  4. Step 300

    300

    #B2C1DD

    oklch(80.9% 0.043 263)

  5. Step 400

    400

    #8AA1CC

    oklch(70.7% 0.068 262.8)

  6. Step 500

    500

    #6D89BF

    oklch(63% 0.088 263)

  7. Step 600

    600

    #5573AB

    oklch(55.7% 0.094 262.2)

  8. Step 700

    700

    #456093

    oklch(49.1% 0.088 262.4)

  9. Step 800

    800 (this color)

    #334870

    oklch(40.4% 0.073 262.5)

  10. Step 900

    900

    #314160

    oklch(37.6% 0.057 263)

  11. Step 950

    950

    #1D2638

    oklch(26.9% 0.036 263.7)

Export this scale for Tailwind in the Tailwind colors tool

#334870 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)#384B720.012
Deuteranopia (no green cones)#31466F0.007
Tritanopia (no blue cones)#1551570.065
Achromatopsia (no color)#4848480.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #334870

    #334870

    oklch(40.4% 0.073 262.5)

  • #5C4412

    #5C4412

    oklch(40.3% 0.073 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334870

    #334870

    oklch(40.4% 0.073 262.5)

  • #144F69

    #144F69

    oklch(40.4% 0.073 232.1)

  • #4A416C

    #4A416C

    oklch(40.4% 0.072 292.5)

Open the analogous palette in the generator

Split complementary

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

  • #334870

    #334870

    oklch(40.4% 0.073 262.5)

  • #673D21

    #673D21

    oklch(40.4% 0.072 53)

  • #494C19

    #494C19

    oklch(40.2% 0.072 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334870

    #334870

    oklch(40.4% 0.073 262.5)

  • #6B3836

    #6B3836

    oklch(40.5% 0.073 23.2)

  • #30532D

    #30532D

    oklch(40.5% 0.074 142.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334870

    #334870

    oklch(40.4% 0.073 262.5)

  • #66374C

    #66374C

    oklch(40.3% 0.072 352.6)

  • #5C4412

    #5C4412

    oklch(40.3% 0.073 81.8)

  • #0D5544

    #0D5544

    oklch(40.3% 0.073 172.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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