#2819A1#2819A1

#2819A1 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.6% C 0.200 H 274.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2819A1
RGBrgb(40, 25, 161)
HSLhsl(247, 73%, 36%)
HSVhsv(247, 84%, 63%)
CMYKcmyk(75.2%, 84.5%, 0%, 36.9%)
CIE-LABlab(22.72, 49.02, -68.96)
CIE-LCHlch(22.72, 84.61, 305.41°)
OKLaboklab(35.57% 0.0146 -0.1994)
OKLCHoklch(35.57% 0.2 274.2)
XYZxyz(7.6536, 3.7188, 34.0257)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2819A1 #92A119
analogous
#194EA1 #2819A1 #6C19A1
triadic
#2819A1 #A12819 #19A128
tetradic
#2819A1 #A1194E #92A119 #19A16C
square
#2819A1 #A1194E #92A119 #19A16C
split-complementary
#2819A1 #A16C19 #4EA119
monochromatic
#0E0937 #1B116C #2819A1 #3521D6 #6150E4

Accessibility & contrast

On white

12.04
#2819A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2819A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2819A1
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2819A1#FFFFFF#000000##FFFFFF
##2819A11.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2819a1;
/* rgb */ color: rgb(40, 25, 161);
/* oklch */ color: oklch(35.6% 0.200 274.2);
Tailwind
colors: {
  custom: {
    50: '#785bbe',
    500: '#2819a1',
    950: '#000000',
  },
}
SCSS
$custom: #2819a1;
$custom-light: #785bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2819a1",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 246.618,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35571,
    "c": 0.19993,
    "h": 274.2
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#2819A1
secondary
#B9C64F
accent
#F038DC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2819A1

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

Preview Lab → · Contrast checker → · Palette generator →

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