#2816A0#2816A0

#2816A0 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.2% C 0.201 H 274.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2816A0
RGBrgb(40, 22, 160)
HSLhsl(248, 76%, 36%)
HSVhsv(248, 86%, 63%)
CMYKcmyk(75%, 86.3%, 0%, 37.3%)
CIE-LABlab(22.17, 49.99, -69.27)
CIE-LCHlch(22.17, 85.42, 305.82°)
OKLaboklab(35.16% 0.0157 -0.2002)
OKLCHoklch(35.16% 0.201 274.5)
XYZxyz(7.5050, 3.5622, 33.5429)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2816A0 #8EA016
analogous
#1649A0 #2816A0 #6D16A0
triadic
#2816A0 #A02816 #16A028
tetradic
#2816A0 #A01649 #8EA016 #16A06D
square
#2816A0 #A01649 #8EA016 #16A06D
split-complementary
#2816A0 #A06D16 #49A016
monochromatic
#0D0734 #1B0F6A #2816A0 #351DD6 #5F4AE6

Accessibility & contrast

On white

12.26
#2816A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2816A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2816A0
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2816A0#FFFFFF#000000##FFFFFF
##2816A01.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2816a0;
/* rgb */ color: rgb(40, 22, 160);
/* oklch */ color: oklch(35.2% 0.201 274.5);
Tailwind
colors: {
  custom: {
    50: '#785abe',
    500: '#2816a0',
    950: '#000000',
  },
}
SCSS
$custom: #2816a0;
$custom-light: #785abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2816a0",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 247.826,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35157,
    "c": 0.20085,
    "h": 274.5
  },
  "luminance": 0.03563
}

Semantic roles & 50–950 ramp

primary
#2816A0
secondary
#B7C84A
accent
#F235DA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2816A0

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

Preview Lab → · Contrast checker → · Palette generator →

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