#2E2C97#2E2C97

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

Color values

HEX#2E2C97
RGBrgb(46, 44, 151)
HSLhsl(241, 55%, 38%)
HSVhsv(241, 71%, 59%)
CMYKcmyk(69.5%, 70.9%, 0%, 40.8%)
CIE-LABlab(25.61, 36.16, -58.05)
CIE-LCHlch(25.61, 68.39, 301.92°)
OKLaboklab(37.39% 0.0157 -0.1677)
OKLCHoklch(37.39% 0.168 275.4)
XYZxyz(7.6115, 4.6159, 29.7620)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C97 #95972C
analogous
#2C6097 #2E2C97 #632C97
triadic
#2E2C97 #972E2C #2C972E
tetradic
#2E2C97 #972C60 #95972C #2C9763
square
#2E2C97 #972C60 #95972C #2C9763
split-complementary
#2E2C97 #97632C #60972C
monochromatic
#111038 #201E68 #2E2C97 #3D3AC6 #6C6AD4

Accessibility & contrast

On white

10.92
#2E2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2C97
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C97#FFFFFF#000000##FFFFFF
##2E2C971.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2c97;
/* rgb */ color: rgb(46, 44, 151);
/* oklch */ color: oklch(37.4% 0.168 275.4);
Tailwind
colors: {
  custom: {
    50: '#7666b7',
    500: '#2e2c97',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c97;
$custom-light: #7666b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c97",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 241.121,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37392,
    "c": 0.16845,
    "h": 275.4
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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