#2819A7#2819A7

#2819A7 is a dark, highly saturated blue. Relative luminance 0.039; OKLCH L 36.3% C 0.207 H 273.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2819A7
RGBrgb(40, 25, 167)
HSLhsl(246, 74%, 38%)
HSVhsv(246, 85%, 65%)
CMYKcmyk(76%, 85%, 0%, 34.5%)
CIE-LABlab(23.46, 50.82, -71.38)
CIE-LCHlch(23.46, 87.63, 305.45°)
OKLaboklab(36.29% 0.0129 -0.2064)
OKLCHoklch(36.29% 0.207 273.6)
XYZxyz(8.1954, 3.9355, 36.8794)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2819A7 #98A719
analogous
#1951A7 #2819A7 #6F19A7
triadic
#2819A7 #A72819 #19A728
tetradic
#2819A7 #A71951 #98A719 #19A76F
square
#2819A7 #A71951 #98A719 #19A76F
split-complementary
#2819A7 #A76F19 #51A719
monochromatic
#0F093D #1B1172 #2819A7 #3521DC #6455E6

Accessibility & contrast

On white

11.75
#2819A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2819A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2819A7
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2819A7#FFFFFF#000000##FFFFFF
##2819A71.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EAB
Deuteranopia (green-blind)
#0031A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2819a7;
/* rgb */ color: rgb(40, 25, 167);
/* oklch */ color: oklch(36.3% 0.207 273.6);
Tailwind
colors: {
  custom: {
    50: '#795cc3',
    500: '#2819a7',
    950: '#000000',
  },
}
SCSS
$custom: #2819a7;
$custom-light: #795cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2819a7",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 167
  },
  "hsl": {
    "h": 246.338,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3629,
    "c": 0.20681,
    "h": 273.6
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#2819A7
secondary
#BCC853
accent
#F137DD
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2819A7

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

Preview Lab → · Contrast checker → · Palette generator →

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