#2E2DC9#2E2DC9

#2E2DC9 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.229 H 271.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2E2DC9
RGBrgb(46, 45, 201)
HSLhsl(240, 63%, 48%)
HSVhsv(240, 78%, 79%)
CMYKcmyk(77.1%, 77.6%, 0%, 21.2%)
CIE-LABlab(31.05, 52.17, -78.99)
CIE-LCHlch(31.05, 94.67, 303.44°)
OKLaboklab(42.81% 0.0062 -0.2287)
OKLCHoklch(42.81% 0.229 271.5)
XYZxyz(12.6042, 6.6733, 55.8708)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DC9 #C8C92D
analogous
#2D7AC9 #2E2DC9 #7C2DC9
triadic
#2E2DC9 #C92E2D #2DC92E
tetradic
#2E2DC9 #C92D7A #C8C92D #2DC97C
square
#2E2DC9 #C92D7A #C8C92D #2DC97C
split-complementary
#2E2DC9 #C97C2D #7AC92D
monochromatic
#171765 #232297 #2E2DC9 #5A59DA #8C8BE5

Accessibility & contrast

On white

8.99
#2E2DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E2DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DC9
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DC9#FFFFFF#000000##FFFFFF
##2E2DC91.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e2dc9;
/* rgb */ color: rgb(46, 45, 201);
/* oklch */ color: oklch(42.8% 0.229 271.5);
Tailwind
colors: {
  custom: {
    50: '#8269db',
    500: '#2e2dc9',
    950: '#000000',
  },
}
SCSS
$custom: #2e2dc9;
$custom-light: #8269db;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2dc9",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 240.385,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.22877,
    "h": 271.5
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#2E2DC9
secondary
#CFCF83
accent
#E641E5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2E2DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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