#2819C9#2819C9

#2819C9 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.4% C 0.244 H 270.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2819C9
RGBrgb(40, 25, 201)
HSLhsl(245, 78%, 44%)
HSVhsv(245, 88%, 79%)
CMYKcmyk(80.1%, 87.6%, 0%, 21.2%)
CIE-LABlab(27.74, 60.62, -84.50)
CIE-LCHlch(27.74, 103.99, 305.65°)
OKLaboklab(40.43% 0.0037 -0.2443)
OKLCHoklch(40.43% 0.244 270.9)
XYZxyz(11.7618, 5.3621, 55.6621)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2819C9 #BAC919
analogous
#1962C9 #2819C9 #8019C9
triadic
#2819C9 #C92819 #19C928
tetradic
#2819C9 #C91962 #BAC919 #19C980
square
#2819C9 #C91962 #BAC919 #19C980
split-complementary
#2819C9 #C98019 #62C919
monochromatic
#120B5C #1D1293 #2819C9 #4839E6 #7A6FED

Accessibility & contrast

On white

10.13
#2819C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2819C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2819C9
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2819C9#FFFFFF#000000##FFFFFF
##2819C91.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2819c9;
/* rgb */ color: rgb(40, 25, 201);
/* oklch */ color: oklch(40.4% 0.244 270.9);
Tailwind
colors: {
  custom: {
    50: '#815fdb',
    500: '#2819c9',
    950: '#000000',
  },
}
SCSS
$custom: #2819c9;
$custom-light: #815fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2819c9",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 201
  },
  "hsl": {
    "h": 245.114,
    "s": 77.876,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.24438,
    "h": 270.9
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#2819C9
secondary
#CAD36B
accent
#F433E4
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2819C9

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

Preview Lab → · Contrast checker → · Palette generator →

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