#2E2DB0#2E2DB0

#2E2DB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.199 H 273.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2E2DB0
RGBrgb(46, 45, 176)
HSLhsl(240, 59%, 43%)
HSVhsv(240, 74%, 69%)
CMYKcmyk(73.9%, 74.4%, 0%, 31%)
CIE-LABlab(28.36, 44.05, -68.67)
CIE-LCHlch(28.36, 81.59, 302.68°)
OKLaboklab(40.11% 0.0109 -0.1987)
OKLCHoklch(40.11% 0.199 273.1)
XYZxyz(9.8990, 5.5912, 41.6234)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DB0 #AFB02D
analogous
#2D6DB0 #2E2DB0 #6F2DB0
triadic
#2E2DB0 #B02E2D #2DB02E
tetradic
#2E2DB0 #B02D6D #AFB02D #2DB06F
square
#2E2DB0 #B02D6D #AFB02D #2DB06F
split-complementary
#2E2DB0 #B06F2D #6DB02D
monochromatic
#15144F #21217F #2E2DB0 #4B4AD1 #7B7ADD

Accessibility & contrast

On white

9.91
#2E2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2E2DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DB0
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DB0#FFFFFF#000000##FFFFFF
##2E2DB01.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e2db0;
/* rgb */ color: rgb(46, 45, 176);
/* oklch */ color: oklch(40.1% 0.199 273.1);
Tailwind
colors: {
  custom: {
    50: '#7c68c9',
    500: '#2e2db0',
    950: '#000000',
  },
}
SCSS
$custom: #2e2db0;
$custom-light: #7c68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2db0",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 240.458,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40114,
    "c": 0.199,
    "h": 273.1
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#2E2DB0
secondary
#C5C573
accent
#E245E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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