#2E316E

Closest named color: Marine Blue (#01386A). oklch(34.6% 0.104 277.4), rgb(46, 49, 110).

Aa

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

About this color

#2E316E is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.104 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.045 away. White text reads best on it, at 11.79:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.78:1
White text11.79:1

Values

HEX#2E316E
RGBrgb(46, 49, 110)
HSLhsl(237, 41%, 31%)
OKLCHoklch(34.6% 0.104 277.4)

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 #2E316E 11.79:1 AAA Lc -100.5 Preferred for body text
Black text on #2E316E 1.78:1 Fails Lc 0.0 Not readable
#2E316E text on white 11.79:1 AAA Lc 96.8 Preferred for body text
#2E316E text on black 1.78: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F6

    oklch(88.5% 0.043 278.2)

  4. Step 300

    300

    #B4BDF3

    oklch(81% 0.077 277.2)

  5. Step 400

    400

    #8E98ED

    oklch(70.7% 0.124 277.6)

  6. Step 500

    500

    #747CE7

    oklch(63% 0.159 277.6)

  7. Step 600

    600

    #5E63D6

    oklch(55.7% 0.173 277.3)

  8. Step 700

    700

    #4E51B9

    oklch(49.1% 0.161 277.5)

  9. Step 800

    800

    #404396

    oklch(42.8% 0.133 277.6)

  10. Step 900

    900 (this color)

    #2E316E

    oklch(34.6% 0.104 277.4)

  11. Step 950

    950

    #1F2246

    oklch(27% 0.066 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#2E316E 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)#0E3A700.039
Deuteranopia (no green cones)#03356D0.042
Tritanopia (no blue cones)#0D3F4A0.091
Achromatopsia (no color)#3838380.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E316E

    #2E316E

    oklch(34.6% 0.104 277.4)

  • #443900

    #443900

    oklch(34.6% 0.071 97)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E316E

    #2E316E

    oklch(34.6% 0.104 277.4)

  • #003C66

    #003C66

    oklch(34.7% 0.091 247.1)

  • #482763

    #482763

    oklch(34.6% 0.105 307.2)

Open the analogous palette in the generator

Split complementary

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

  • #2E316E

    #2E316E

    oklch(34.6% 0.104 277.4)

  • #533000

    #533000

    oklch(34.5% 0.076 67)

  • #2C4200

    #2C4200

    oklch(34.7% 0.091 127.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E316E

    #2E316E

    oklch(34.6% 0.104 277.4)

  • #642009

    #642009

    oklch(34.6% 0.103 37.7)

  • #004628

    #004628

    oklch(34.7% 0.082 157.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E316E

    #2E316E

    oklch(34.6% 0.104 277.4)

  • #631C30

    #631C30

    oklch(34.6% 0.103 7.2)

  • #443900

    #443900

    oklch(34.6% 0.071 97)

  • #00433F

    #00433F

    oklch(34.5% 0.06 188.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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