#2E2989#2E2989

#2E2989 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.153 H 277.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2E2989
RGBrgb(46, 41, 137)
HSLhsl(243, 54%, 35%)
HSVhsv(243, 70%, 54%)
CMYKcmyk(66.4%, 70.1%, 0%, 46.3%)
CIE-LABlab(23.58, 33.17, -52.72)
CIE-LCHlch(23.58, 62.29, 302.17°)
OKLaboklab(35.52% 0.02 -0.1521)
OKLCHoklch(35.52% 0.153 277.5)
XYZxyz(6.4335, 3.9723, 24.0898)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2989 #848929
analogous
#295489 #2E2989 #5E2989
triadic
#2E2989 #892E29 #29892E
tetradic
#2E2989 #892954 #848929 #29895E
square
#2E2989 #892954 #848929 #29895E
split-complementary
#2E2989 #895E29 #548929
monochromatic
#0E0D2B #1E1B5A #2E2989 #3E37B8 #645ECF

Accessibility & contrast

On white

11.70
#2E2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2989
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2989#FFFFFF#000000##FFFFFF
##2E29891.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2989;
/* rgb */ color: rgb(46, 41, 137);
/* oklch */ color: oklch(35.5% 0.153 277.5);
Tailwind
colors: {
  custom: {
    50: '#7363ac',
    500: '#2e2989',
    950: '#000000',
  },
}
SCSS
$custom: #2e2989;
$custom-light: #7363ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2989",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 243.125,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35518,
    "c": 0.15343,
    "h": 277.5
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#2E2989
secondary
#B0B45A
accent
#DD4AD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2989

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

Preview Lab → · Contrast checker → · Palette generator →

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