#2E2D9D#2E2D9D

#2E2D9D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.175 H 274.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2E2D9D
RGBrgb(46, 45, 157)
HSLhsl(241, 55%, 40%)
HSVhsv(241, 71%, 62%)
CMYKcmyk(70.7%, 71.3%, 0%, 38.4%)
CIE-LABlab(26.42, 37.62, -60.39)
CIE-LCHlch(26.42, 71.15, 301.92°)
OKLaboklab(38.15% 0.0142 -0.1745)
OKLCHoklch(38.15% 0.175 274.6)
XYZxyz(8.1489, 4.8912, 32.4064)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D9D #9C9D2D
analogous
#2D649D #2E2D9D #662D9D
triadic
#2E2D9D #9D2E2D #2D9D2E
tetradic
#2E2D9D #9D2D64 #9C9D2D #2D9D66
square
#2E2D9D #9D2D64 #9C9D2D #2D9D66
split-complementary
#2E2D9D #9D662D #649D2D
monochromatic
#12123E #201F6D #2E2D9D #403FC8 #706FD6

Accessibility & contrast

On white

10.61
#2E2D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E2D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D9D
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D9D#FFFFFF#000000##FFFFFF
##2E2D9D1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2d9d;
/* rgb */ color: rgb(46, 45, 157);
/* oklch */ color: oklch(38.2% 0.175 274.6);
Tailwind
colors: {
  custom: {
    50: '#7767bb',
    500: '#2e2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d9d;
$custom-light: #7767bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d9d",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 240.536,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38153,
    "c": 0.17512,
    "h": 274.6
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#2E2D9D
secondary
#BCBD69
accent
#DF49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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