#2E2B89#2E2B89

#2E2B89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.151 H 277.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#2E2B89
RGBrgb(46, 43, 137)
HSLhsl(242, 52%, 35%)
HSVhsv(242, 69%, 54%)
CMYKcmyk(66.4%, 68.6%, 0%, 46.3%)
CIE-LABlab(24.05, 31.91, -51.96)
CIE-LCHlch(24.05, 60.97, 301.55°)
OKLaboklab(35.85% 0.0184 -0.1499)
OKLCHoklch(35.85% 0.151 277)
XYZxyz(6.5045, 4.1142, 24.1134)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B89 #86892B
analogous
#2B5789 #2E2B89 #5D2B89
triadic
#2E2B89 #892E2B #2B892E
tetradic
#2E2B89 #892B57 #86892B #2B895D
square
#2E2B89 #892B57 #86892B #2B895D
split-complementary
#2E2B89 #895D2B #57892B
monochromatic
#0F0E2C #1E1C5A #2E2B89 #3E3AB8 #6461CD

Accessibility & contrast

On white

11.52
#2E2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B89
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B89#FFFFFF#000000##FFFFFF
##2E2B891.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2b89;
/* rgb */ color: rgb(46, 43, 137);
/* oklch */ color: oklch(35.9% 0.151 277.0);
Tailwind
colors: {
  custom: {
    50: '#7365ac',
    500: '#2e2b89',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b89;
$custom-light: #7365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b89",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 241.915,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35855,
    "c": 0.15101,
    "h": 277
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#2E2B89
secondary
#B1B35C
accent
#DC4CD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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