#2E334B

Closest named color: Gunmetal (#293241). oklch(32.7% 0.043 274.7), rgb(46, 51, 75).

Aa

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

About this color

#2E334B is a dark, muted blue. In OKLCH its lightness is 33%, its chroma 0.043 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.020 away. White text reads best on it, at 12.41:1.

Hue familyBlues
Lightnessdark (33%)
Chromamuted (0.043)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.69:1
White text12.41:1

Values

HEX#2E334B
RGBrgb(46, 51, 75)
HSLhsl(230, 24%, 24%)
OKLCHoklch(32.7% 0.043 274.7)

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 #2E334B 12.41:1 AAA Lc -101.7 Preferred for body text
Black text on #2E334B 1.69:1 Fails Lc 0.0 Not readable
#2E334B text on white 12.41:1 AAA Lc 98.2 Preferred for body text
#2E334B text on black 1.69:1 Fails Lc 0.0 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D5D8E5

    oklch(88.4% 0.018 275.6)

  4. Step 300

    300

    #BABFD6

    oklch(80.8% 0.033 275.9)

  5. Step 400

    400

    #979FC2

    oklch(70.8% 0.052 274.9)

  6. Step 500

    500

    #7D87B2

    oklch(63.1% 0.066 274.2)

  7. Step 600

    600

    #67709E

    oklch(55.6% 0.072 275.3)

  8. Step 700

    700

    #555E87

    oklch(49.2% 0.067 274.2)

  9. Step 800

    800

    #464D6E

    oklch(42.8% 0.056 274.6)

  10. Step 900

    900 (this color)

    #2E334B

    oklch(32.7% 0.043 274.7)

  11. Step 950

    950

    #222534

    oklch(26.8% 0.028 275.6)

Export this scale for Tailwind in the Tailwind colors tool

#2E334B 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)#2B354C0.007
Deuteranopia (no green cones)#29334A0.008
Tritanopia (no blue cones)#26383B0.040
Achromatopsia (no color)#3434340.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E334B

    #2E334B

    oklch(32.7% 0.043 274.7)

  • #3C341A

    #3C341A

    oklch(32.7% 0.042 92.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E334B

    #2E334B

    oklch(32.7% 0.043 274.7)

  • #213749

    #213749

    oklch(32.7% 0.043 244.3)

  • #3A2F47

    #3A2F47

    oklch(32.8% 0.044 305.1)

Open the analogous palette in the generator

Split complementary

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

  • #2E334B

    #2E334B

    oklch(32.7% 0.043 274.7)

  • #44301C

    #44301C

    oklch(32.7% 0.043 65.3)

  • #303920

    #303920

    oklch(32.9% 0.043 124.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E334B

    #2E334B

    oklch(32.7% 0.043 274.7)

  • #482D26

    #482D26

    oklch(32.8% 0.042 35.2)

  • #223B2B

    #223B2B

    oklch(32.7% 0.042 155.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E334B

    #2E334B

    oklch(32.7% 0.043 274.7)

  • #482B32

    #482B32

    oklch(32.8% 0.044 4.1)

  • #3C341A

    #3C341A

    oklch(32.7% 0.042 92.8)

  • #173C37

    #173C37

    oklch(32.8% 0.043 183.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2E334B 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.