#2E2B95#2E2B95

#2E2B95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.167 H 275.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2E2B95
RGBrgb(46, 43, 149)
HSLhsl(242, 55%, 38%)
HSVhsv(242, 71%, 58%)
CMYKcmyk(69.1%, 71.1%, 0%, 41.6%)
CIE-LABlab(25.19, 36.08, -57.51)
CIE-LCHlch(25.19, 67.89, 302.10°)
OKLaboklab(37.03% 0.0167 -0.1661)
OKLCHoklch(37.03% 0.167 275.7)
XYZxyz(7.4136, 4.4779, 28.9016)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B95 #92952B
analogous
#2B5D95 #2E2B95 #632B95
triadic
#2E2B95 #952E2B #2B952E
tetradic
#2E2B95 #952B5D #92952B #2B9563
square
#2E2B95 #952B5D #92952B #2B9563
split-complementary
#2E2B95 #95632B #5D952B
monochromatic
#111036 #1F1D66 #2E2B95 #3D39C4 #6A67D3

Accessibility & contrast

On white

11.08
#2E2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B95
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B95#FFFFFF#000000##FFFFFF
##2E2B951.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2b95;
/* rgb */ color: rgb(46, 43, 149);
/* oklch */ color: oklch(37.0% 0.167 275.7);
Tailwind
colors: {
  custom: {
    50: '#7665b5',
    500: '#2e2b95',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b95;
$custom-light: #7665b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b95",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 241.698,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37032,
    "c": 0.16698,
    "h": 275.7
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#2E2B95
secondary
#B7BA62
accent
#DF49DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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