#2E2089#2E2089

#2E2089 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.164 H 279.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2089
RGBrgb(46, 32, 137)
HSLhsl(248, 62%, 33%)
HSVhsv(248, 77%, 54%)
CMYKcmyk(66.4%, 76.6%, 0%, 46.3%)
CIE-LABlab(21.65, 38.52, -55.89)
CIE-LCHlch(21.65, 67.88, 304.57°)
OKLaboklab(34.14% 0.0264 -0.1614)
OKLCHoklch(34.14% 0.164 279.3)
XYZxyz(6.1571, 3.4195, 23.9976)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2089 #7B8920
analogous
#204689 #2E2089 #622089
triadic
#2E2089 #892E20 #20892E
tetradic
#2E2089 #892046 #7B8920 #208962
square
#2E2089 #892046 #7B8920 #208962
split-complementary
#2E2089 #896220 #468920
monochromatic
#0D0926 #1D1457 #2E2089 #3F2CBB #604ED6

Accessibility & contrast

On white

12.47
#2E2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2089
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2089#FFFFFF#000000##FFFFFF
##2E20891.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2089;
/* rgb */ color: rgb(46, 32, 137);
/* oklch */ color: oklch(34.1% 0.164 279.3);
Tailwind
colors: {
  custom: {
    50: '#745ead',
    500: '#2e2089',
    950: '#000000',
  },
}
SCSS
$custom: #2e2089;
$custom-light: #745ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2089",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 248,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34143,
    "c": 0.16351,
    "h": 279.3
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#2E2089
secondary
#AAB94C
accent
#E543D0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2089

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E2089 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva