#2E3460

Closest named color: Prussian Blue (#1D3557). oklch(34.3% 0.077 275.7), rgb(46, 52, 96).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.77:1
White text11.82:1

Values

HEX#2E3460
RGBrgb(46, 52, 96)
HSLhsl(233, 35%, 28%)
OKLCHoklch(34.3% 0.077 275.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 #2E3460 11.82:1 AAA Lc -100.6 Preferred for body text
Black text on #2E3460 1.77:1 Fails Lc 0.0 Not readable
#2E3460 text on white 11.82:1 AAA Lc 97.0 Preferred for body text
#2E3460 text on black 1.77: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

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D3D8EF

    oklch(88.5% 0.032 276)

  4. Step 300

    300

    #B6BEE7

    oklch(80.9% 0.059 276.4)

  5. Step 400

    400

    #909CDA

    oklch(70.7% 0.092 275.4)

  6. Step 500

    500

    #7682D0

    oklch(63% 0.118 275.8)

  7. Step 600

    600

    #5F6ABD

    oklch(55.5% 0.129 275.7)

  8. Step 700

    700

    #4F58A3

    oklch(49% 0.119 275.9)

  9. Step 800

    800

    #414984

    oklch(42.8% 0.098 275.7)

  10. Step 900

    900 (this color)

    #2E3460

    oklch(34.3% 0.077 275.7)

  11. Step 950

    950

    #20243E

    oklch(27% 0.049 276)

Export this scale for Tailwind in the Tailwind colors tool

#2E3460 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)#223A620.022
Deuteranopia (no green cones)#1E365F0.022
Tritanopia (no blue cones)#1B3D450.067
Achromatopsia (no color)#3737370.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E3460

    #2E3460

    oklch(34.3% 0.077 275.7)

  • #443800

    #443800

    oklch(34.3% 0.071 95.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E3460

    #2E3460

    oklch(34.3% 0.077 275.7)

  • #0D3B5E

    #0D3B5E

    oklch(34.2% 0.078 246.4)

  • #422D58

    #422D58

    oklch(34.2% 0.077 305.2)

Open the analogous palette in the generator

Split complementary

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

  • #2E3460

    #2E3460

    oklch(34.3% 0.077 275.7)

  • #532F00

    #532F00

    oklch(34.3% 0.077 65.6)

  • #2F3F0B

    #2F3F0B

    oklch(34.2% 0.077 125.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E3460

    #2E3460

    oklch(34.3% 0.077 275.7)

  • #5A281B

    #5A281B

    oklch(34.4% 0.077 35.6)

  • #0A4427

    #0A4427

    oklch(34.3% 0.077 155.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E3460

    #2E3460

    oklch(34.3% 0.077 275.7)

  • #592533

    #592533

    oklch(34.3% 0.078 5.2)

  • #443800

    #443800

    oklch(34.3% 0.071 95.6)

  • #00433D

    #00433D

    oklch(34.4% 0.061 184.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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