#2E2D9E#2E2D9E

#2E2D9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.176 H 274.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2E2D9E
RGBrgb(46, 45, 158)
HSLhsl(241, 56%, 40%)
HSVhsv(241, 72%, 62%)
CMYKcmyk(70.9%, 71.5%, 0%, 38%)
CIE-LABlab(26.52, 37.96, -60.84)
CIE-LCHlch(26.52, 71.71, 301.96°)
OKLaboklab(38.25% 0.014 -0.1758)
OKLCHoklch(38.25% 0.176 274.5)
XYZxyz(8.2346, 4.9255, 32.8579)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D9E #9D9E2D
analogous
#2D659E #2E2D9E #672D9E
triadic
#2E2D9E #9E2E2D #2D9E2E
tetradic
#2E2D9E #9E2D65 #9D9E2D #2D9E67
square
#2E2D9E #9E2D65 #9D9E2D #2D9E67
split-complementary
#2E2D9E #9E672D #659E2D
monochromatic
#12123F #201F6E #2E2D9E #4140C9 #706FD6

Accessibility & contrast

On white

10.58
#2E2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E2D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D9E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D9E#FFFFFF#000000##FFFFFF
##2E2D9E1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2d9e;
/* rgb */ color: rgb(46, 45, 158);
/* oklch */ color: oklch(38.3% 0.176 274.5);
Tailwind
colors: {
  custom: {
    50: '#7767bc',
    500: '#2e2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d9e;
$custom-light: #7767bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d9e",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 240.531,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38254,
    "c": 0.17641,
    "h": 274.5
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#2E2D9E
secondary
#BDBD69
accent
#DF49DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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