#2E2DB6#2E2DB6

#2E2DB6 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.206 H 272.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2E2DB6
RGBrgb(46, 45, 182)
HSLhsl(240, 60%, 45%)
HSVhsv(240, 75%, 71%)
CMYKcmyk(74.7%, 75.3%, 0%, 28.6%)
CIE-LABlab(28.99, 46.04, -71.21)
CIE-LCHlch(28.99, 84.79, 302.88°)
OKLaboklab(40.75% 0.0098 -0.2061)
OKLCHoklch(40.75% 0.206 272.7)
XYZxyz(10.5058, 5.8339, 44.8193)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DB6 #B5B62D
analogous
#2D71B6 #2E2DB6 #732DB6
triadic
#2E2DB6 #B62E2D #2DB62E
tetradic
#2E2DB6 #B62D71 #B5B62D #2DB673
square
#2E2DB6 #B62D71 #B5B62D #2DB673
split-complementary
#2E2DB6 #B6732D #71B62D
monochromatic
#151554 #222185 #2E2DB6 #4E4DD3 #7F7EDF

Accessibility & contrast

On white

9.69
#2E2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2DB6
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DB6#FFFFFF#000000##FFFFFF
##2E2DB61.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2db6;
/* rgb */ color: rgb(46, 45, 182);
/* oklch */ color: oklch(40.8% 0.206 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d68cd',
    500: '#2e2db6',
    950: '#000000',
  },
}
SCSS
$custom: #2e2db6;
$custom-light: #7d68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2db6",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 240.438,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4075,
    "c": 0.2063,
    "h": 272.7
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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