#2E2D8A#2E2D8A

#2E2D8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.150 H 276.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2E2D8A
RGBrgb(46, 45, 138)
HSLhsl(241, 51%, 36%)
HSVhsv(241, 67%, 54%)
CMYKcmyk(66.7%, 67.4%, 0%, 45.9%)
CIE-LABlab(24.61, 30.98, -51.65)
CIE-LCHlch(24.61, 60.23, 300.95°)
OKLaboklab(36.3% 0.0167 -0.149)
OKLCHoklch(36.3% 0.15 276.4)
XYZxyz(6.6510, 4.2920, 24.5178)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D8A #898A2D
analogous
#2D5A8A #2E2D8A #5C2D8A
triadic
#2E2D8A #8A2E2D #2D8A2E
tetradic
#2E2D8A #8A2D5A #898A2D #2D8A5C
square
#2E2D8A #8A2D5A #898A2D #2D8A5C
split-complementary
#2E2D8A #8A5C2D #5A8A2D
monochromatic
#0F0F2E #1F1E5C #2E2D8A #3D3CB8 #6665CD

Accessibility & contrast

On white

11.30
#2E2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D8A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D8A#FFFFFF#000000##FFFFFF
##2E2D8A1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2d8a;
/* rgb */ color: rgb(46, 45, 138);
/* oklch */ color: oklch(36.3% 0.150 276.4);
Tailwind
colors: {
  custom: {
    50: '#7366ad',
    500: '#2e2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d8a;
$custom-light: #7366ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d8a",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 240.645,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36296,
    "c": 0.14991,
    "h": 276.4
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#2E2D8A
secondary
#B2B360
accent
#DA4DD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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