#2E2DB4#2E2DB4

#2E2DB4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.5% C 0.204 H 272.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2E2DB4
RGBrgb(46, 45, 180)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(74.4%, 75%, 0%, 29.4%)
CIE-LABlab(28.78, 45.38, -70.37)
CIE-LCHlch(28.78, 83.73, 302.82°)
OKLaboklab(40.54% 0.0102 -0.2036)
OKLCHoklch(40.54% 0.204 272.9)
XYZxyz(10.3006, 5.7518, 43.7385)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DB4 #B3B42D
analogous
#2D70B4 #2E2DB4 #712DB4
triadic
#2E2DB4 #B42E2D #2DB42E
tetradic
#2E2DB4 #B42D70 #B3B42D #2DB471
square
#2E2DB4 #B42D70 #B3B42D #2DB471
split-complementary
#2E2DB4 #B4712D #70B42D
monochromatic
#151552 #212183 #2E2DB4 #4D4CD2 #7E7DDE

Accessibility & contrast

On white

9.76
#2E2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2E2DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DB4
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DB4#FFFFFF#000000##FFFFFF
##2E2DB41.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e2db4;
/* rgb */ color: rgb(46, 45, 180);
/* oklch */ color: oklch(40.5% 0.204 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d68cc',
    500: '#2e2db4',
    950: '#000000',
  },
}
SCSS
$custom: #2e2db4;
$custom-light: #7d68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2db4",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 240.444,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.20389,
    "h": 272.9
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#2E2DB4
secondary
#C6C776
accent
#E345E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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