#2A19B3#2A19B3

#2A19B3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.9% C 0.220 H 273.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2A19B3
RGBrgb(42, 25, 179)
HSLhsl(247, 75%, 40%)
HSVhsv(247, 86%, 70%)
CMYKcmyk(76.5%, 86%, 0%, 29.8%)
CIE-LABlab(25.08, 54.46, -75.91)
CIE-LCHlch(25.08, 93.42, 305.66°)
OKLaboklab(37.86% 0.0121 -0.2195)
OKLCHoklch(37.86% 0.22 273.2)
XYZxyz(9.4364, 4.4412, 42.9990)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A19B3 #A2B319
analogous
#1955B3 #2A19B3 #7719B3
triadic
#2A19B3 #B32A19 #19B32A
tetradic
#2A19B3 #B31955 #A2B319 #19B377
square
#2A19B3 #B31955 #A2B319 #19B377
split-complementary
#2A19B3 #B37719 #55B319
monochromatic
#110A48 #1D127D #2A19B3 #3D28E1 #6D5EE8

Accessibility & contrast

On white

11.12
#2A19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A19B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A19B3
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A19B3#FFFFFF#000000##FFFFFF
##2A19B31.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a19b3;
/* rgb */ color: rgb(42, 25, 179);
/* oklch */ color: oklch(37.9% 0.220 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d5dcb',
    500: '#2a19b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a19b3;
$custom-light: #7d5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a19b3",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 246.623,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.37861,
    "c": 0.2198,
    "h": 273.2
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#2A19B3
secondary
#C0CC5B
accent
#F236DD
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2A19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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