#2E2F80

Closest named color: Twilight Blue (#0A437A). oklch(35.7% 0.133 276.7), rgb(46, 47, 128).

Aa

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

About this color

#2E2F80 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.133 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.061 away. White text reads best on it, at 11.44:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.83:1
White text11.44:1

Values

HEX#2E2F80
RGBrgb(46, 47, 128)
HSLhsl(239, 47%, 34%)
OKLCHoklch(35.7% 0.133 276.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 #2E2F80 11.44:1 AAA Lc -99.7 Preferred for body text
Black text on #2E2F80 1.83:1 Fails Lc 7.9 Not readable
#2E2F80 text on white 11.44:1 AAA Lc 96.0 Preferred for body text
#2E2F80 text on black 1.83: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FE

    oklch(93.7% 0.029 275.2)

  3. Step 200

    200

    #CFD7FE

    oklch(88.6% 0.054 276.1)

  4. Step 300

    300

    #B0BBFF

    oklch(80.8% 0.097 276.9)

  5. Step 400

    400

    #8995FF

    oklch(70.7% 0.154 276.8)

  6. Step 500

    500

    #6F76FF

    oklch(63.2% 0.2 276.8)

  7. Step 600

    600

    #5A58F1

    oklch(55.6% 0.223 276.9)

  8. Step 700

    700

    #4A47D2

    oklch(49.2% 0.207 276.6)

  9. Step 800

    800

    #3C3BA9

    oklch(42.6% 0.171 276.7)

  10. Step 900

    900 (this color)

    #2E2F80

    oklch(35.7% 0.133 276.7)

  11. Step 950

    950

    #1D204F

    oklch(27.1% 0.085 276.4)

Export this scale for Tailwind in the Tailwind colors tool

#2E2F80 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)#003D830.048
Deuteranopia (no green cones)#00367E0.043
Tritanopia (no blue cones)#0043520.113
Achromatopsia (no color)#3A3A3A0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E2F80

    #2E2F80

    oklch(35.7% 0.133 276.7)

  • #483C00

    #483C00

    oklch(35.8% 0.074 96.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E2F80

    #2E2F80

    oklch(35.7% 0.133 276.7)

  • #003F6A

    #003F6A

    oklch(35.7% 0.093 246.7)

  • #4F2272

    #4F2272

    oklch(35.9% 0.133 306.6)

Open the analogous palette in the generator

Split complementary

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

  • #2E2F80

    #2E2F80

    oklch(35.7% 0.133 276.7)

  • #583300

    #583300

    oklch(35.9% 0.079 66.8)

  • #304400

    #304400

    oklch(35.6% 0.091 126.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E2F80

    #2E2F80

    oklch(35.7% 0.133 276.7)

  • #6D1B00

    #6D1B00

    oklch(35.6% 0.12 36.7)

  • #004929

    #004929

    oklch(35.7% 0.085 156.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E2F80

    #2E2F80

    oklch(35.7% 0.133 276.7)

  • #700B31

    #700B31

    oklch(35.7% 0.134 6.3)

  • #483C00

    #483C00

    oklch(35.8% 0.074 96.4)

  • #004742

    #004742

    oklch(35.8% 0.063 186.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2E2F80.

Similar named colors

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

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