#334F82

Closest named color: Dusk Blue (#26538D). oklch(43.1% 0.091 261.6), rgb(51, 79, 130).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.58:1
White text8.13:1

Values

HEX#334F82
RGBrgb(51, 79, 130)
HSLhsl(219, 44%, 35%)
OKLCHoklch(43.1% 0.091 261.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 #334F82 8.13:1 AAA Lc -92.6 Preferred for body text
Black text on #334F82 2.58:1 Fails Lc 16.0 Dividers and decoration only
#334F82 text on white 8.13:1 AAA Lc 88.0 Fine for body text
#334F82 text on black 2.58:1 Fails Lc -14.2 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAED

    oklch(88.5% 0.029 259.6)

  4. Step 300

    300

    #AEC1E4

    oklch(80.8% 0.054 262.6)

  5. Step 400

    400

    #83A1D6

    oklch(70.7% 0.085 261.5)

  6. Step 500

    500

    #6489CC

    oklch(63.1% 0.11 261.7)

  7. Step 600

    600

    #4B72B8

    oklch(55.6% 0.118 261.3)

  8. Step 700

    700

    #3C5F9F

    oklch(49.1% 0.111 261.5)

  9. Step 800

    800 (this color)

    #334F82

    oklch(43.1% 0.091 261.6)

  10. Step 900

    900

    #2C4167

    oklch(37.7% 0.071 261.6)

  11. Step 950

    950

    #1A263C

    oklch(26.9% 0.045 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#334F82 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)#3953840.015
Deuteranopia (no green cones)#2F4C810.011
Tritanopia (no blue cones)#005A620.079
Achromatopsia (no color)#4F4F4F0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F82

    #334F82

    oklch(43.1% 0.091 261.6)

  • #684A00

    #684A00

    oklch(43% 0.089 81.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F82

    #334F82

    oklch(43.1% 0.091 261.6)

  • #005877

    #005877

    oklch(43.2% 0.087 230.9)

  • #51467E

    #51467E

    oklch(43.2% 0.091 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #334F82

    #334F82

    oklch(43.1% 0.091 261.6)

  • #77401A

    #77401A

    oklch(43.2% 0.092 52.1)

  • #525407

    #525407

    oklch(43% 0.091 111.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F82

    #334F82

    oklch(43.1% 0.091 261.6)

  • #7B3939

    #7B3939

    oklch(43.1% 0.092 21.7)

  • #315C2B

    #315C2B

    oklch(43.1% 0.091 141.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F82

    #334F82

    oklch(43.1% 0.091 261.6)

  • #753956

    #753956

    oklch(43.1% 0.091 351.3)

  • #684A00

    #684A00

    oklch(43% 0.089 81.9)

  • #005F4A

    #005F4A

    oklch(43.2% 0.085 171)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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