#334673

Closest named color: Twilight Blue (#0A437A). oklch(40.1% 0.08 265.6), rgb(51, 70, 115).

Aa

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

About this color

#334673 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.080 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.27:1.

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

Values

HEX#334673
RGBrgb(51, 70, 115)
HSLhsl(222, 39%, 33%)
OKLCHoklch(40.1% 0.08 265.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 #334673 9.27:1 AAA Lc -95.6 Preferred for body text
Black text on #334673 2.26:1 Fails Lc 12.7 Not readable
#334673 text on white 9.27:1 AAA Lc 91.3 Preferred for body text
#334673 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

    #AEC1E8

    oklch(81% 0.059 264.6)

  5. Step 400

    400

    #849FDD

    oklch(70.6% 0.096 265.9)

  6. Step 500

    500

    #6686D4

    oklch(63% 0.124 266.1)

  7. Step 600

    600

    #4D6FC1

    oklch(55.6% 0.133 265.4)

  8. Step 700

    700

    #3F5CA7

    oklch(49.1% 0.125 266)

  9. Step 800

    800

    #344C87

    oklch(42.8% 0.102 265.6)

  10. Step 900

    900 (this color)

    #334673

    oklch(40.1% 0.08 265.6)

  11. Step 950

    950

    #1A253F

    oklch(26.8% 0.051 265.7)

Export this scale for Tailwind in the Tailwind colors tool

#334673 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)#344A750.012
Deuteranopia (no green cones)#2D44720.011
Tritanopia (no blue cones)#1250570.072
Achromatopsia (no color)#4747470.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #334673

    #334673

    oklch(40.1% 0.08 265.6)

  • #5B4404

    #5B4404

    oklch(40.1% 0.08 85.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334673

    #334673

    oklch(40.1% 0.08 265.6)

  • #0C4E6D

    #0C4E6D

    oklch(40.1% 0.08 235.5)

  • #4C3E6E

    #4C3E6E

    oklch(40.1% 0.08 296)

Open the analogous palette in the generator

Split complementary

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

  • #334673

    #334673

    oklch(40.1% 0.08 265.6)

  • #683B18

    #683B18

    oklch(40.1% 0.08 55.6)

  • #464D12

    #464D12

    oklch(40.1% 0.08 116)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334673

    #334673

    oklch(40.1% 0.08 265.6)

  • #6D3531

    #6D3531

    oklch(40.1% 0.08 25.5)

  • #29532C

    #29532C

    oklch(40.1% 0.08 145.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334673

    #334673

    oklch(40.1% 0.08 265.6)

  • #693449

    #693449

    oklch(40.1% 0.08 356.2)

  • #5B4404

    #5B4404

    oklch(40.1% 0.08 85.9)

  • #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 #334673, closest first.

Similar named colors

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

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