#2E2DB5#2E2DB5

#2E2DB5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.205 H 272.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2E2DB5
RGBrgb(46, 45, 181)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(74.6%, 75.1%, 0%, 29%)
CIE-LABlab(28.88, 45.71, -70.79)
CIE-LCHlch(28.88, 84.26, 302.85°)
OKLaboklab(40.64% 0.01 -0.2048)
OKLCHoklch(40.64% 0.205 272.8)
XYZxyz(10.4028, 5.7927, 44.2770)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DB5 #B4B52D
analogous
#2D70B5 #2E2DB5 #722DB5
triadic
#2E2DB5 #B52E2D #2DB52E
tetradic
#2E2DB5 #B52D70 #B4B52D #2DB572
square
#2E2DB5 #B52D70 #B4B52D #2DB572
split-complementary
#2E2DB5 #B5722D #70B52D
monochromatic
#151553 #222184 #2E2DB5 #4E4DD3 #7E7EDF

Accessibility & contrast

On white

9.73
#2E2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2E2DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DB5
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DB5#FFFFFF#000000##FFFFFF
##2E2DB51.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003DB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e2db5;
/* rgb */ color: rgb(46, 45, 181);
/* oklch */ color: oklch(40.6% 0.205 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d68cc',
    500: '#2e2db5',
    950: '#000000',
  },
}
SCSS
$custom: #2e2db5;
$custom-light: #7d68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2db5",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 240.441,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.20509,
    "h": 272.8
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#2E2DB5
secondary
#C7C776
accent
#E344E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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