#2D16B4#2D16B4

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

Color values

HEX#2D16B4
RGBrgb(45, 22, 180)
HSLhsl(249, 78%, 40%)
HSVhsv(249, 88%, 71%)
CMYKcmyk(75%, 87.8%, 0%, 29.4%)
CIE-LABlab(25.03, 56.03, -76.58)
CIE-LCHlch(25.03, 94.88, 306.19°)
OKLaboklab(37.92% 0.0165 -0.2213)
OKLCHoklch(37.92% 0.222 274.3)
XYZxyz(9.6046, 4.4260, 43.5193)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D16B4 #9DB416
analogous
#164EB4 #2D16B4 #7C16B4
triadic
#2D16B4 #B42D16 #16B42D
tetradic
#2D16B4 #B4164E #9DB416 #16B47C
square
#2D16B4 #B4164E #9DB416 #16B47C
split-complementary
#2D16B4 #B47C16 #4EB416
monochromatic
#120947 #1F0F7D #2D16B4 #3F23E4 #6F5AEB

Accessibility & contrast

On white

11.14
#2D16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D16B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D16B4
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D16B4#FFFFFF#000000##FFFFFF
##2D16B41.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d16b4;
/* rgb */ color: rgb(45, 22, 180);
/* oklch */ color: oklch(37.9% 0.222 274.3);
Tailwind
colors: {
  custom: {
    50: '#7e5ccc',
    500: '#2d16b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d16b4;
$custom-light: #7e5ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d16b4",
  "rgb": {
    "r": 45,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 248.734,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37918,
    "c": 0.22191,
    "h": 274.3
  },
  "luminance": 0.04427
}

Semantic roles & 50–950 ramp

primary
#2D16B4
secondary
#BDCE58
accent
#F533D9
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2D16B4

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

Preview Lab → · Contrast checker → · Palette generator →

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