#2D16B3#2D16B3

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

Color values

HEX#2D16B3
RGBrgb(45, 22, 179)
HSLhsl(249, 78%, 39%)
HSVhsv(249, 88%, 70%)
CMYKcmyk(74.9%, 87.7%, 0%, 29.8%)
CIE-LABlab(24.91, 55.74, -76.19)
CIE-LCHlch(24.91, 94.40, 306.19°)
OKLaboklab(37.8% 0.0168 -0.2202)
OKLCHoklch(37.8% 0.221 274.4)
XYZxyz(9.5031, 4.3854, 42.9847)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D16B3 #9CB316
analogous
#164EB3 #2D16B3 #7C16B3
triadic
#2D16B3 #B32D16 #16B32D
tetradic
#2D16B3 #B3164E #9CB316 #16B37C
square
#2D16B3 #B3164E #9CB316 #16B37C
split-complementary
#2D16B3 #B37C16 #4EB316
monochromatic
#120946 #1F0F7C #2D16B3 #3F22E4 #6E59EB

Accessibility & contrast

On white

11.19
#2D16B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D16B3
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D16B3#FFFFFF#000000##FFFFFF
##2D16B31.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.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: #2d16b3;
/* rgb */ color: rgb(45, 22, 179);
/* oklch */ color: oklch(37.8% 0.221 274.4);
Tailwind
colors: {
  custom: {
    50: '#7e5ccb',
    500: '#2d16b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d16b3;
$custom-light: #7e5ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d16b3",
  "rgb": {
    "r": 45,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 248.79,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37797,
    "c": 0.22081,
    "h": 274.4
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D16B3

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

Preview Lab → · Contrast checker → · Palette generator →

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