#2E16B3#2E16B3

#2E16B3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.9% C 0.221 H 274.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2E16B3
RGBrgb(46, 22, 179)
HSLhsl(249, 78%, 39%)
HSVhsv(249, 88%, 70%)
CMYKcmyk(74.3%, 87.7%, 0%, 29.8%)
CIE-LABlab(24.98, 55.80, -76.07)
CIE-LCHlch(24.98, 94.34, 306.26°)
OKLaboklab(37.86% 0.0182 -0.2198)
OKLCHoklch(37.86% 0.221 274.7)
XYZxyz(9.5476, 4.4084, 42.9868)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E16B3 #9BB316
analogous
#164DB3 #2E16B3 #7D16B3
triadic
#2E16B3 #B32E16 #16B32E
tetradic
#2E16B3 #B3164D #9BB316 #16B37D
square
#2E16B3 #B3164D #9BB316 #16B37D
split-complementary
#2E16B3 #B37D16 #4DB316
monochromatic
#120946 #200F7C #2E16B3 #4022E4 #6F59EB

Accessibility & contrast

On white

11.16
#2E16B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E16B3
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E16B3#FFFFFF#000000##FFFFFF
##2E16B31.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0034B0
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e16b3;
/* rgb */ color: rgb(46, 22, 179);
/* oklch */ color: oklch(37.9% 0.221 274.7);
Tailwind
colors: {
  custom: {
    50: '#7e5ccb',
    500: '#2e16b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e16b3;
$custom-light: #7e5ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e16b3",
  "rgb": {
    "r": 46,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 249.172,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.22056,
    "h": 274.7
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#2E16B3
secondary
#BCCE57
accent
#F533D7
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2E16B3

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

Preview Lab → · Contrast checker → · Palette generator →

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