#2A19A1#2A19A1

#2A19A1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.199 H 275.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2A19A1
RGBrgb(42, 25, 161)
HSLhsl(248, 73%, 36%)
HSVhsv(248, 84%, 63%)
CMYKcmyk(73.9%, 84.5%, 0%, 36.9%)
CIE-LABlab(22.86, 49.16, -68.72)
CIE-LCHlch(22.86, 84.49, 305.57°)
OKLaboklab(35.71% 0.0173 -0.1987)
OKLCHoklch(35.71% 0.199 275)
XYZxyz(7.7334, 3.7599, 34.0295)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A19A1 #90A119
analogous
#194CA1 #2A19A1 #6E19A1
triadic
#2A19A1 #A12A19 #19A12A
tetradic
#2A19A1 #A1194C #90A119 #19A16E
square
#2A19A1 #A1194C #90A119 #19A16E
split-complementary
#2A19A1 #A16E19 #4CA119
monochromatic
#0E0937 #1C116C #2A19A1 #3821D6 #6350E4

Accessibility & contrast

On white

11.98
#2A19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2A19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A19A1
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A19A1#FFFFFF#000000##FFFFFF
##2A19A11.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a19a1;
/* rgb */ color: rgb(42, 25, 161);
/* oklch */ color: oklch(35.7% 0.199 275.0);
Tailwind
colors: {
  custom: {
    50: '#785bbe',
    500: '#2a19a1',
    950: '#000000',
  },
}
SCSS
$custom: #2a19a1;
$custom-light: #785bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a19a1",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 247.5,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35706,
    "c": 0.19943,
    "h": 275
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#2A19A1
secondary
#B7C64F
accent
#F038D9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2A19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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