#2E2D8E#2E2D8E

#2E2D8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.155 H 276.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2E2D8E
RGBrgb(46, 45, 142)
HSLhsl(241, 52%, 37%)
HSVhsv(241, 68%, 56%)
CMYKcmyk(67.6%, 68.3%, 0%, 44.3%)
CIE-LABlab(24.98, 32.39, -53.53)
CIE-LCHlch(24.98, 62.57, 301.18°)
OKLaboklab(36.68% 0.0162 -0.1545)
OKLCHoklch(36.68% 0.155 276)
XYZxyz(6.9460, 4.4100, 26.0711)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D8E #8D8E2D
analogous
#2D5D8E #2E2D8E #5F2D8E
triadic
#2E2D8E #8E2E2D #2D8E2E
tetradic
#2E2D8E #8E2D5D #8D8E2D #2D8E5F
square
#2E2D8E #8E2D5D #8D8E2D #2D8E5F
split-complementary
#2E2D8E #8E5F2D #5D8E2D
monochromatic
#101031 #1F1E60 #2E2D8E #3D3CBC #6867CF

Accessibility & contrast

On white

11.16
#2E2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D8E
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D8E#FFFFFF#000000##FFFFFF
##2E2D8E1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2d8e;
/* rgb */ color: rgb(46, 45, 142);
/* oklch */ color: oklch(36.7% 0.155 276.0);
Tailwind
colors: {
  custom: {
    50: '#7466b0',
    500: '#2e2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d8e;
$custom-light: #7466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d8e",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 240.619,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36677,
    "c": 0.15534,
    "h": 276
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#2E2D8E
secondary
#B5B561
accent
#DB4CDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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