#2A19A0#2A19A0

#2A19A0 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.6% C 0.198 H 275.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#2A19A0
RGBrgb(42, 25, 160)
HSLhsl(248, 73%, 36%)
HSVhsv(248, 84%, 63%)
CMYKcmyk(73.8%, 84.4%, 0%, 37.3%)
CIE-LABlab(22.74, 48.85, -68.31)
CIE-LCHlch(22.74, 83.99, 305.57°)
OKLaboklab(35.59% 0.0176 -0.1975)
OKLCHoklch(35.59% 0.198 275.1)
XYZxyz(7.6455, 3.7248, 33.5669)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A19A0 #8FA019
analogous
#194CA0 #2A19A0 #6E19A0
triadic
#2A19A0 #A02A19 #19A02A
tetradic
#2A19A0 #A0194C #8FA019 #19A06E
square
#2A19A0 #A0194C #8FA019 #19A06E
split-complementary
#2A19A0 #A06E19 #4CA019
monochromatic
#0E0836 #1C116B #2A19A0 #3821D5 #6250E4

Accessibility & contrast

On white

12.03
#2A19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A19A0
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A19A0#FFFFFF#000000##FFFFFF
##2A19A01.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a19a0;
/* rgb */ color: rgb(42, 25, 160);
/* oklch */ color: oklch(35.6% 0.198 275.1);
Tailwind
colors: {
  custom: {
    50: '#785bbe',
    500: '#2a19a0',
    950: '#000000',
  },
}
SCSS
$custom: #2a19a0;
$custom-light: #785bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a19a0",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 247.556,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35587,
    "c": 0.19827,
    "h": 275.1
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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