#334D82

Closest named color: Dusk Blue (#26538D). oklch(42.6% 0.094 263.2), rgb(51, 77, 130).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.52:1
White text8.31:1

Values

HEX#334D82
RGBrgb(51, 77, 130)
HSLhsl(220, 44%, 35%)
OKLCHoklch(42.6% 0.094 263.2)

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 #334D82 8.31:1 AAA Lc -93.2 Preferred for body text
Black text on #334D82 2.52:1 Fails Lc 15.4 Dividers and decoration only
#334D82 text on white 8.31:1 AAA Lc 88.5 Fine for body text
#334D82 text on black 2.52:1 Fails Lc -13.6 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

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CFDAEE

    oklch(88.6% 0.03 262.5)

  4. Step 300

    300

    #AEC1E5

    oklch(80.9% 0.055 263.2)

  5. Step 400

    400

    #84A1D8

    oklch(70.8% 0.087 262.8)

  6. Step 500

    500

    #6588CD

    oklch(63% 0.112 263.1)

  7. Step 600

    600

    #4D71BA

    oklch(55.6% 0.121 263.2)

  8. Step 700

    700

    #3E5EA1

    oklch(49.1% 0.114 263.5)

  9. Step 800

    800 (this color)

    #334D82

    oklch(42.6% 0.094 263.2)

  10. Step 900

    900

    #2D4168

    oklch(37.8% 0.072 262.8)

  11. Step 950

    950

    #1A263D

    oklch(27% 0.046 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#334D82 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)#3652840.016
Deuteranopia (no green cones)#2C4B810.011
Tritanopia (no blue cones)#0059610.083
Achromatopsia (no color)#4E4E4E0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #334D82

    #334D82

    oklch(42.6% 0.094 263.2)

  • #664900

    #664900

    oklch(42.6% 0.088 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334D82

    #334D82

    oklch(42.6% 0.094 263.2)

  • #005677

    #005677

    oklch(42.6% 0.088 233.1)

  • #52437D

    #52437D

    oklch(42.6% 0.095 293.9)

Open the analogous palette in the generator

Split complementary

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

  • #334D82

    #334D82

    oklch(42.6% 0.094 263.2)

  • #763E15

    #763E15

    oklch(42.7% 0.094 52.8)

  • #4F5403

    #4F5403

    oklch(42.7% 0.094 113.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334D82

    #334D82

    oklch(42.6% 0.094 263.2)

  • #7A3736

    #7A3736

    oklch(42.6% 0.094 22.7)

  • #2C5C2A

    #2C5C2A

    oklch(42.8% 0.095 142.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334D82

    #334D82

    oklch(42.6% 0.094 263.2)

  • #753753

    #753753

    oklch(42.7% 0.093 353.4)

  • #664900

    #664900

    oklch(42.6% 0.088 82.4)

  • #005D4B

    #005D4B

    oklch(42.7% 0.081 173.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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