#2E335D

Closest named color: Prussian Blue (#1D3557). oklch(33.8% 0.074 276.6), rgb(46, 51, 93).

Aa

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

About this color

#2E335D is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.074 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.027 away. White text reads best on it, at 12.01:1.

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.74:1
White text12.01:1

Values

HEX#2E335D
RGBrgb(46, 51, 93)
HSLhsl(234, 34%, 27%)
OKLCHoklch(33.8% 0.074 276.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 #2E335D 12.01:1 AAA Lc -101.0 Preferred for body text
Black text on #2E335D 1.74:1 Fails Lc 0.0 Not readable
#2E335D text on white 12.01:1 AAA Lc 97.4 Preferred for body text
#2E335D text on black 1.74: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D3D8EE

    oklch(88.5% 0.031 275.6)

  4. Step 300

    300

    #B7BEE5

    oklch(80.9% 0.056 277.1)

  5. Step 400

    400

    #929CD8

    oklch(70.7% 0.089 276.6)

  6. Step 500

    500

    #7882CD

    oklch(63% 0.113 276.9)

  7. Step 600

    600

    #616BBA

    oklch(55.6% 0.122 276.2)

  8. Step 700

    700

    #5159A0

    oklch(49.2% 0.113 276.6)

  9. Step 800

    800

    #424982

    oklch(42.8% 0.094 276.4)

  10. Step 900

    900 (this color)

    #2E335D

    oklch(33.8% 0.074 276.6)

  11. Step 950

    950

    #20243D

    oklch(26.9% 0.047 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#2E335D 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)#23385F0.020
Deuteranopia (no green cones)#1F355C0.021
Tritanopia (no blue cones)#1D3C430.066
Achromatopsia (no color)#3636360.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E335D

    #2E335D

    oklch(33.8% 0.074 276.6)

  • #423700

    #423700

    oklch(33.8% 0.07 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E335D

    #2E335D

    oklch(33.8% 0.074 276.6)

  • #113A5B

    #113A5B

    oklch(33.8% 0.073 246.8)

  • #412C55

    #412C55

    oklch(33.7% 0.074 306.5)

Open the analogous palette in the generator

Split complementary

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

  • #2E335D

    #2E335D

    oklch(33.8% 0.074 276.6)

  • #502F02

    #502F02

    oklch(33.9% 0.073 67.5)

  • #2E3E0E

    #2E3E0E

    oklch(33.9% 0.073 126)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E335D

    #2E335D

    oklch(33.8% 0.074 276.6)

  • #57281B

    #57281B

    oklch(33.9% 0.073 36.4)

  • #0B4327

    #0B4327

    oklch(34% 0.075 156.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E335D

    #2E335D

    oklch(33.8% 0.074 276.6)

  • #562531

    #562531

    oklch(33.7% 0.074 6.4)

  • #423700

    #423700

    oklch(33.8% 0.07 96.6)

  • #00413C

    #00413C

    oklch(33.8% 0.059 186.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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