#2E2D8D#2E2D8D

#2E2D8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.154 H 276.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2E2D8D
RGBrgb(46, 45, 141)
HSLhsl(241, 52%, 36%)
HSVhsv(241, 68%, 55%)
CMYKcmyk(67.4%, 68.1%, 0%, 44.7%)
CIE-LABlab(24.89, 32.04, -53.06)
CIE-LCHlch(24.89, 61.99, 301.12°)
OKLaboklab(36.58% 0.0163 -0.1531)
OKLCHoklch(36.58% 0.154 276.1)
XYZxyz(6.8712, 4.3801, 25.6775)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D8D #8C8D2D
analogous
#2D5C8D #2E2D8D #5E2D8D
triadic
#2E2D8D #8D2E2D #2D8D2E
tetradic
#2E2D8D #8D2D5C #8C8D2D #2D8D5E
square
#2E2D8D #8D2D5C #8C8D2D #2D8D5E
split-complementary
#2E2D8D #8D5E2D #5C8D2D
monochromatic
#100F30 #1F1E5F #2E2D8D #3D3CBB #6766CE

Accessibility & contrast

On white

11.19
#2E2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D8D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D8D#FFFFFF#000000##FFFFFF
##2E2D8D1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2d8d;
/* rgb */ color: rgb(46, 45, 141);
/* oklch */ color: oklch(36.6% 0.154 276.1);
Tailwind
colors: {
  custom: {
    50: '#7466af',
    500: '#2e2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d8d;
$custom-light: #7466af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d8d",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 240.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36581,
    "c": 0.15399,
    "h": 276.1
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#2E2D8D
secondary
#B4B561
accent
#DB4DDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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