#2E2DB8#2E2DB8

#2E2DB8 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.209 H 272.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2E2DB8
RGBrgb(46, 45, 184)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 72%)
CMYKcmyk(75%, 75.5%, 0%, 27.8%)
CIE-LABlab(29.20, 46.69, -72.04)
CIE-LCHlch(29.20, 85.85, 302.95°)
OKLaboklab(40.96% 0.0095 -0.2085)
OKLCHoklch(40.96% 0.209 272.6)
XYZxyz(10.7139, 5.9172, 45.9156)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DB8 #B7B82D
analogous
#2D71B8 #2E2DB8 #742DB8
triadic
#2E2DB8 #B82E2D #2DB82E
tetradic
#2E2DB8 #B82D71 #B7B82D #2DB874
square
#2E2DB8 #B82D71 #B7B82D #2DB874
split-complementary
#2E2DB8 #B8742D #71B82D
monochromatic
#151556 #222187 #2E2DB8 #4F4ED4 #8080E0

Accessibility & contrast

On white

9.62
#2E2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DB8
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DB8#FFFFFF#000000##FFFFFF
##2E2DB81.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#003EB6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e2db8;
/* rgb */ color: rgb(46, 45, 184);
/* oklch */ color: oklch(41.0% 0.209 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d68cf',
    500: '#2e2db8',
    950: '#000000',
  },
}
SCSS
$custom: #2e2db8;
$custom-light: #7d68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2db8",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 240.432,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40964,
    "c": 0.20871,
    "h": 272.6
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#2E2DB8
secondary
#C8C978
accent
#E444E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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