#2816C9#2816C9

#2816C9 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 40.2% C 0.246 H 270.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2816C9
RGBrgb(40, 22, 201)
HSLhsl(246, 80%, 44%)
HSVhsv(246, 89%, 79%)
CMYKcmyk(80.1%, 89.1%, 0%, 21.2%)
CIE-LABlab(27.41, 61.62, -85.05)
CIE-LCHlch(27.41, 105.03, 305.92°)
OKLaboklab(40.21% 0.0041 -0.2459)
OKLCHoklch(40.21% 0.246 270.9)
XYZxyz(11.7010, 5.2406, 55.6419)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2816C9 #B7C916
analogous
#165DC9 #2816C9 #8116C9
triadic
#2816C9 #C92816 #16C928
tetradic
#2816C9 #C9165D #B7C916 #16C981
square
#2816C9 #C9165D #B7C916 #16C981
split-complementary
#2816C9 #C98116 #5DC916
monochromatic
#120A5B #1D1092 #2816C9 #4633E9 #786BEF

Accessibility & contrast

On white

10.25
#2816C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2816C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2816C9
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2816C9#FFFFFF#000000##FFFFFF
##2816C91.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049CE
Deuteranopia (green-blind)
#0038C6
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2816c9;
/* rgb */ color: rgb(40, 22, 201);
/* oklch */ color: oklch(40.2% 0.246 270.9);
Tailwind
colors: {
  custom: {
    50: '#815edb',
    500: '#2816c9',
    950: '#000000',
  },
}
SCSS
$custom: #2816c9;
$custom-light: #815edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2816c9",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 201
  },
  "hsl": {
    "h": 246.034,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.24591,
    "h": 270.9
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#2816C9
secondary
#C9D467
accent
#F731E3
background
#F9F5FD
surface
#F1E9FB
border
#CBC5D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2816C9

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

Preview Lab → · Contrast checker → · Palette generator →

#2816C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva