#2E2C96#2E2C96

#2E2C96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.167 H 275.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2E2C96
RGBrgb(46, 44, 150)
HSLhsl(241, 55%, 38%)
HSVhsv(241, 71%, 59%)
CMYKcmyk(69.3%, 70.7%, 0%, 41.2%)
CIE-LABlab(25.51, 35.81, -57.60)
CIE-LCHlch(25.51, 67.82, 301.87°)
OKLaboklab(37.29% 0.0159 -0.1664)
OKLCHoklch(37.29% 0.167 275.4)
XYZxyz(7.5306, 4.5835, 29.3361)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C96 #94962C
analogous
#2C5F96 #2E2C96 #632C96
triadic
#2E2C96 #962E2C #2C962E
tetradic
#2E2C96 #962C5F #94962C #2C9663
square
#2E2C96 #962C5F #94962C #2C9663
split-complementary
#2E2C96 #96632C #5F962C
monochromatic
#111037 #1F1E67 #2E2C96 #3D3AC5 #6B69D3

Accessibility & contrast

On white

10.96
#2E2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E2C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C96
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C96#FFFFFF#000000##FFFFFF
##2E2C961.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2c96;
/* rgb */ color: rgb(46, 44, 150);
/* oklch */ color: oklch(37.3% 0.167 275.4);
Tailwind
colors: {
  custom: {
    50: '#7666b6',
    500: '#2e2c96',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c96;
$custom-light: #7666b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c96",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 241.132,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.16714,
    "h": 275.4
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#2E2C96
secondary
#B8BA64
accent
#DE4ADB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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