#2C16B4#2C16B4

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

Color values

HEX#2C16B4
RGBrgb(44, 22, 180)
HSLhsl(248, 78%, 40%)
HSVhsv(248, 88%, 71%)
CMYKcmyk(75.6%, 87.8%, 0%, 29.4%)
CIE-LABlab(24.96, 55.97, -76.69)
CIE-LCHlch(24.96, 94.95, 306.12°)
OKLaboklab(37.85% 0.0151 -0.2216)
OKLCHoklch(37.85% 0.222 273.9)
XYZxyz(9.5611, 4.4036, 43.5173)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C16B4 #9EB416
analogous
#164FB4 #2C16B4 #7B16B4
triadic
#2C16B4 #B42C16 #16B42C
tetradic
#2C16B4 #B4164F #9EB416 #16B47B
square
#2C16B4 #B4164F #9EB416 #16B47B
split-complementary
#2C16B4 #B47B16 #4FB416
monochromatic
#110947 #1F0F7D #2C16B4 #3E23E4 #6E5AEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C16B4#FFFFFF#000000##FFFFFF
##2C16B41.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)
#0042B8
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c16b4;
/* rgb */ color: rgb(44, 22, 180);
/* oklch */ color: oklch(37.9% 0.222 273.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ccc',
    500: '#2c16b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c16b4;
$custom-light: #7e5ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c16b4",
  "rgb": {
    "r": 44,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 248.354,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.22217,
    "h": 273.9
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#2C16B4
secondary
#BECE58
accent
#F533DA
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2C16B4

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

Preview Lab → · Contrast checker → · Palette generator →

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