#2E2DB1#2E2DB1

#2E2DB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.200 H 273.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2E2DB1
RGBrgb(46, 45, 177)
HSLhsl(240, 59%, 44%)
HSVhsv(240, 75%, 69%)
CMYKcmyk(74%, 74.6%, 0%, 30.6%)
CIE-LABlab(28.46, 44.38, -69.10)
CIE-LCHlch(28.46, 82.13, 302.71°)
OKLaboklab(40.22% 0.0107 -0.1999)
OKLCHoklch(40.22% 0.2 273.1)
XYZxyz(9.9983, 5.6309, 42.1464)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DB1 #B0B12D
analogous
#2D6EB1 #2E2DB1 #702DB1
triadic
#2E2DB1 #B12E2D #2DB12E
tetradic
#2E2DB1 #B12D6E #B0B12D #2DB170
square
#2E2DB1 #B12D6E #B0B12D #2DB170
split-complementary
#2E2DB1 #B1702D #6EB12D
monochromatic
#15144F #212180 #2E2DB1 #4B4AD1 #7C7BDD

Accessibility & contrast

On white

9.88
#2E2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DB1
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DB1#FFFFFF#000000##FFFFFF
##2E2DB11.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e2db1;
/* rgb */ color: rgb(46, 45, 177);
/* oklch */ color: oklch(40.2% 0.200 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c68ca',
    500: '#2e2db1',
    950: '#000000',
  },
}
SCSS
$custom: #2e2db1;
$custom-light: #7c68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2db1",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 240.455,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.20023,
    "h": 273.1
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#2E2DB1
secondary
#C5C674
accent
#E345E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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