#2A19C9#2A19C9

#2A19C9 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.5% C 0.244 H 271.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2A19C9
RGBrgb(42, 25, 201)
HSLhsl(246, 78%, 44%)
HSVhsv(246, 88%, 79%)
CMYKcmyk(79.1%, 87.6%, 0%, 21.2%)
CIE-LABlab(27.85, 60.70, -84.31)
CIE-LCHlch(27.85, 103.89, 305.75°)
OKLaboklab(40.54% 0.0061 -0.2438)
OKLCHoklch(40.54% 0.244 271.4)
XYZxyz(11.8415, 5.4032, 55.6658)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A19C9 #B8C919
analogous
#1960C9 #2A19C9 #8219C9
triadic
#2A19C9 #C92A19 #19C92A
tetradic
#2A19C9 #C91960 #B8C919 #19C982
square
#2A19C9 #C91960 #B8C919 #19C982
split-complementary
#2A19C9 #C98219 #60C919
monochromatic
#130B5C #1F1293 #2A19C9 #4A39E6 #7B6FED

Accessibility & contrast

On white

10.09
#2A19C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A19C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A19C9
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A19C9#FFFFFF#000000##FFFFFF
##2A19C91.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a19c9;
/* rgb */ color: rgb(42, 25, 201);
/* oklch */ color: oklch(40.5% 0.244 271.4);
Tailwind
colors: {
  custom: {
    50: '#825fdb',
    500: '#2a19c9',
    950: '#000000',
  },
}
SCSS
$custom: #2a19c9;
$custom-light: #825fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a19c9",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 201
  },
  "hsl": {
    "h": 245.795,
    "s": 77.876,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.24386,
    "h": 271.4
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#2A19C9
secondary
#C9D36B
accent
#F433E2
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2A19C9

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

Preview Lab → · Contrast checker → · Palette generator →

#2A19C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva