#2E396B

Closest named color: Marine Blue (#01386A). oklch(36.2% 0.087 272), rgb(46, 57, 107).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.91:1
White text10.97:1

Values

HEX#2E396B
RGBrgb(46, 57, 107)
HSLhsl(229, 40%, 30%)
OKLCHoklch(36.2% 0.087 272)

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 #2E396B 10.97:1 AAA Lc -99.1 Preferred for body text
Black text on #2E396B 1.91:1 Fails Lc 8.7 Not readable
#2E396B text on white 10.97:1 AAA Lc 95.2 Preferred for body text
#2E396B text on black 1.91:1 Fails Lc -7.4 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D0D8F2

    oklch(88.4% 0.037 272)

  4. Step 300

    300

    #B1BFEC

    oklch(80.9% 0.066 271.4)

  5. Step 400

    400

    #8A9CE2

    oklch(70.6% 0.105 272.4)

  6. Step 500

    500

    #6E82DA

    oklch(63.1% 0.134 272.4)

  7. Step 600

    600

    #576AC7

    oklch(55.6% 0.145 272.2)

  8. Step 700

    700

    #4758AC

    oklch(49.1% 0.135 272)

  9. Step 800

    800

    #3A488C

    oklch(42.6% 0.113 272)

  10. Step 900

    900 (this color)

    #2E396B

    oklch(36.2% 0.087 272)

  11. Step 950

    950

    #1D2441

    oklch(26.9% 0.055 272)

Export this scale for Tailwind in the Tailwind colors tool

#2E396B 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)#233F6D0.020
Deuteranopia (no green cones)#1C3A6A0.022
Tritanopia (no blue cones)#0F444C0.079
Achromatopsia (no color)#3C3C3C0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E396B

    #2E396B

    oklch(36.2% 0.087 272)

  • #4C3C00

    #4C3C00

    oklch(36.3% 0.074 91.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E396B

    #2E396B

    oklch(36.2% 0.087 272)

  • #004266

    #004266

    oklch(36.3% 0.085 241.4)

  • #463163

    #463163

    oklch(36.2% 0.086 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #2E396B

    #2E396B

    oklch(36.2% 0.087 272)

  • #5C3200

    #5C3200

    oklch(36.3% 0.083 62.3)

  • #364401

    #364401

    oklch(36.1% 0.087 122)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E396B

    #2E396B

    oklch(36.2% 0.087 272)

  • #63291E

    #63291E

    oklch(36.1% 0.087 32.4)

  • #0C4A25

    #0C4A25

    oklch(36.1% 0.087 151.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E396B

    #2E396B

    oklch(36.2% 0.087 272)

  • #61273A

    #61273A

    oklch(36.2% 0.087 1.9)

  • #4C3C00

    #4C3C00

    oklch(36.3% 0.074 91.9)

  • #004840

    #004840

    oklch(36% 0.064 182.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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