#334674

Closest named color: Twilight Blue (#0A437A). oklch(40.1% 0.082 265.9), rgb(51, 70, 116).

Aa

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

About this color

#334674 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.082 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.040 away. White text reads best on it, at 9.25:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.26:1
White text9.25:1

Values

HEX#334674
RGBrgb(51, 70, 116)
HSLhsl(222, 39%, 33%)
OKLCHoklch(40.1% 0.082 265.9)

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 #334674 9.25:1 AAA Lc -95.6 Preferred for body text
Black text on #334674 2.26:1 Fails Lc 12.7 Not readable
#334674 text on white 9.25:1 AAA Lc 91.2 Preferred for body text
#334674 text on black 2.26:1 Fails Lc -11.1 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

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CFD9F0

    oklch(88.5% 0.033 266.9)

  4. Step 300

    300

    #AEC0E9

    oklch(80.8% 0.061 266.4)

  5. Step 400

    400

    #849FDE

    oklch(70.7% 0.098 266.1)

  6. Step 500

    500

    #6586D5

    oklch(63% 0.125 265.8)

  7. Step 600

    600

    #4D6EC2

    oklch(55.5% 0.136 266)

  8. Step 700

    700

    #3E5CA8

    oklch(49.1% 0.127 265.7)

  9. Step 800

    800

    #334B88

    oklch(42.6% 0.105 265.9)

  10. Step 900

    900 (this color)

    #334674

    oklch(40.1% 0.082 265.9)

  11. Step 950

    950

    #1A2540

    oklch(26.9% 0.053 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#334674 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)#344A760.012
Deuteranopia (no green cones)#2C45730.010
Tritanopia (no blue cones)#1150570.073
Achromatopsia (no color)#4747470.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #334674

    #334674

    oklch(40.1% 0.082 265.9)

  • #5C4401

    #5C4401

    oklch(40.2% 0.082 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334674

    #334674

    oklch(40.1% 0.082 265.9)

  • #0A4E6E

    #0A4E6E

    oklch(40.1% 0.082 236)

  • #4C3E6F

    #4C3E6F

    oklch(40.1% 0.082 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #334674

    #334674

    oklch(40.1% 0.082 265.9)

  • #693B16

    #693B16

    oklch(40.2% 0.082 56)

  • #464D10

    #464D10

    oklch(40.1% 0.082 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334674

    #334674

    oklch(40.1% 0.082 265.9)

  • #6D3530

    #6D3530

    oklch(40.1% 0.081 26.5)

  • #28532C

    #28532C

    oklch(40% 0.08 145.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334674

    #334674

    oklch(40.1% 0.082 265.9)

  • #6A3449

    #6A3449

    oklch(40.2% 0.081 356.7)

  • #5C4401

    #5C4401

    oklch(40.2% 0.082 85.4)

  • #005546

    #005546

    oklch(40.1% 0.075 175.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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