#2E2D9B#2E2D9B

#2E2D9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.173 H 274.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2E2D9B
RGBrgb(46, 45, 155)
HSLhsl(241, 55%, 39%)
HSVhsv(241, 71%, 61%)
CMYKcmyk(70.3%, 71%, 0%, 39.2%)
CIE-LABlab(26.23, 36.93, -59.49)
CIE-LCHlch(26.23, 70.02, 301.83°)
OKLaboklab(37.95% 0.0145 -0.1719)
OKLCHoklch(37.95% 0.173 274.8)
XYZxyz(7.9795, 4.8234, 31.5145)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D9B #9A9B2D
analogous
#2D639B #2E2D9B #652D9B
triadic
#2E2D9B #9B2E2D #2D9B2E
tetradic
#2E2D9B #9B2D63 #9A9B2D #2D9B65
square
#2E2D9B #9B2D63 #9A9B2D #2D9B65
split-complementary
#2E2D9B #9B652D #639B2D
monochromatic
#12113C #201F6C #2E2D9B #3F3EC7 #6F6ED5

Accessibility & contrast

On white

10.69
#2E2D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E2D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D9B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D9B#FFFFFF#000000##FFFFFF
##2E2D9B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2d9b;
/* rgb */ color: rgb(46, 45, 155);
/* oklch */ color: oklch(38.0% 0.173 274.8);
Tailwind
colors: {
  custom: {
    50: '#7767ba',
    500: '#2e2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d9b;
$custom-light: #7767ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d9b",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 240.545,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37953,
    "c": 0.17254,
    "h": 274.8
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#2E2D9B
secondary
#BBBC68
accent
#DE49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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