#2E2D9A#2E2D9A

#2E2D9A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.171 H 274.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2E2D9A
RGBrgb(46, 45, 154)
HSLhsl(241, 55%, 39%)
HSVhsv(241, 71%, 60%)
CMYKcmyk(70.1%, 70.8%, 0%, 39.6%)
CIE-LABlab(26.13, 36.58, -59.04)
CIE-LCHlch(26.13, 69.46, 301.78°)
OKLaboklab(37.85% 0.0146 -0.1706)
OKLCHoklch(37.85% 0.171 274.9)
XYZxyz(7.8959, 4.7900, 31.0740)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D9A #999A2D
analogous
#2D639A #2E2D9A #652D9A
triadic
#2E2D9A #9A2E2D #2D9A2E
tetradic
#2E2D9A #9A2D63 #999A2D #2D9A65
square
#2E2D9A #9A2D63 #999A2D #2D9A65
split-complementary
#2E2D9A #9A652D #639A2D
monochromatic
#12113B #201F6B #2E2D9A #3F3EC7 #6E6DD4

Accessibility & contrast

On white

10.72
#2E2D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D9A
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D9A#FFFFFF#000000##FFFFFF
##2E2D9A1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2d9a;
/* rgb */ color: rgb(46, 45, 154);
/* oklch */ color: oklch(37.9% 0.171 274.9);
Tailwind
colors: {
  custom: {
    50: '#7667b9',
    500: '#2e2d9a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d9a;
$custom-light: #7667b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d9a",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 240.55,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.17123,
    "h": 274.9
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#2E2D9A
secondary
#BBBB67
accent
#DE4ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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