#2E2B91#2E2B91

#2E2B91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.162 H 276.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2E2B91
RGBrgb(46, 43, 145)
HSLhsl(242, 54%, 37%)
HSVhsv(242, 70%, 57%)
CMYKcmyk(68.3%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.80, 34.70, -55.68)
CIE-LCHlch(24.80, 65.61, 301.93°)
OKLaboklab(36.63% 0.0173 -0.1608)
OKLCHoklch(36.63% 0.162 276.1)
XYZxyz(7.0998, 4.3523, 27.2485)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B91 #8E912B
analogous
#2B5B91 #2E2B91 #612B91
triadic
#2E2B91 #912E2B #2B912E
tetradic
#2E2B91 #912B5B #8E912B #2B9161
square
#2E2B91 #912B5B #8E912B #2B9161
split-complementary
#2E2B91 #91612B #5B912B
monochromatic
#100F33 #1F1D62 #2E2B91 #3D39C0 #6865D1

Accessibility & contrast

On white

11.23
#2E2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B91
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B91#FFFFFF#000000##FFFFFF
##2E2B911.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2b91;
/* rgb */ color: rgb(46, 43, 145);
/* oklch */ color: oklch(36.6% 0.162 276.1);
Tailwind
colors: {
  custom: {
    50: '#7565b2',
    500: '#2e2b91',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b91;
$custom-light: #7565b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b91",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 241.765,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36634,
    "c": 0.16172,
    "h": 276.1
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#2E2B91
secondary
#B5B860
accent
#DE4AD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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