#2E2DB7#2E2DB7

#2E2DB7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.208 H 272.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2E2DB7
RGBrgb(46, 45, 183)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 75%, 72%)
CMYKcmyk(74.9%, 75.4%, 0%, 28.2%)
CIE-LABlab(29.10, 46.37, -71.63)
CIE-LCHlch(29.10, 85.32, 302.92°)
OKLaboklab(40.86% 0.0096 -0.2073)
OKLCHoklch(40.86% 0.208 272.7)
XYZxyz(10.6095, 5.8754, 45.3655)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2DB7 #B6B72D
analogous
#2D71B7 #2E2DB7 #732DB7
triadic
#2E2DB7 #B72E2D #2DB72E
tetradic
#2E2DB7 #B72D71 #B6B72D #2DB773
square
#2E2DB7 #B72D71 #B6B72D #2DB773
split-complementary
#2E2DB7 #B7732D #71B72D
monochromatic
#151555 #222186 #2E2DB7 #4F4ED3 #807FDF

Accessibility & contrast

On white

9.65
#2E2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2DB7
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2DB7#FFFFFF#000000##FFFFFF
##2E2DB71.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e2db7;
/* rgb */ color: rgb(46, 45, 183);
/* oklch */ color: oklch(40.9% 0.208 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d68ce',
    500: '#2e2db7',
    950: '#000000',
  },
}
SCSS
$custom: #2e2db7;
$custom-light: #7d68ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2db7",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 240.435,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.20751,
    "h": 272.7
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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