#2E335C

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

Aa

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

About this color

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

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

Values

HEX#2E335C
RGBrgb(46, 51, 92)
HSLhsl(233, 33%, 27%)
OKLCHoklch(33.8% 0.072 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 #2E335C 12.03:1 AAA Lc -101.0 Preferred for body text
Black text on #2E335C 1.74:1 Fails Lc 0.0 Not readable
#2E335C text on white 12.03:1 AAA Lc 97.5 Preferred for body text
#2E335C 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D3D8ED

    oklch(88.5% 0.029 275.1)

  4. Step 300

    300

    #B7BEE4

    oklch(80.9% 0.054 276.9)

  5. Step 400

    400

    #929CD7

    oklch(70.7% 0.087 276.5)

  6. Step 500

    500

    #7883CC

    oklch(63.2% 0.11 276.2)

  7. Step 600

    600

    #626BB8

    oklch(55.6% 0.119 276.7)

  8. Step 700

    700

    #51599F

    oklch(49.1% 0.112 276.6)

  9. Step 800

    800

    #424981

    oklch(42.7% 0.093 276.3)

  10. Step 900

    900 (this color)

    #2E335C

    oklch(33.8% 0.072 276.6)

  11. Step 950

    950

    #21243D

    oklch(27% 0.047 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#2E335C 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)#23385E0.020
Deuteranopia (no green cones)#20355B0.020
Tritanopia (no blue cones)#1D3C430.064
Achromatopsia (no color)#3636360.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E335C

    #2E335C

    oklch(33.8% 0.072 276.6)

  • #423700

    #423700

    oklch(33.8% 0.07 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E335C

    #2E335C

    oklch(33.8% 0.072 276.6)

  • #123A5A

    #123A5A

    oklch(33.8% 0.072 246.4)

  • #412C54

    #412C54

    oklch(33.7% 0.072 307.1)

Open the analogous palette in the generator

Split complementary

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

  • #2E335C

    #2E335C

    oklch(33.8% 0.072 276.6)

  • #502F03

    #502F03

    oklch(33.9% 0.072 67.1)

  • #2E3E10

    #2E3E10

    oklch(33.9% 0.072 126.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E335C

    #2E335C

    oklch(33.8% 0.072 276.6)

  • #56281B

    #56281B

    oklch(33.7% 0.072 36.7)

  • #0D4228

    #0D4228

    oklch(33.7% 0.071 157.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E335C

    #2E335C

    oklch(33.8% 0.072 276.6)

  • #562631

    #562631

    oklch(33.9% 0.072 7.2)

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

Similar named colors

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

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