#2A19B4#2A19B4

#2A19B4 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.0% C 0.221 H 273.1°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2A19B4
RGBrgb(42, 25, 180)
HSLhsl(247, 76%, 40%)
HSVhsv(247, 86%, 71%)
CMYKcmyk(76.7%, 86.1%, 0%, 29.4%)
CIE-LABlab(25.20, 54.74, -76.30)
CIE-LCHlch(25.20, 93.91, 305.66°)
OKLaboklab(37.98% 0.0118 -0.2206)
OKLCHoklch(37.98% 0.221 273.1)
XYZxyz(9.5379, 4.4818, 43.5336)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A19B4 #A3B419
analogous
#1955B4 #2A19B4 #7819B4
triadic
#2A19B4 #B42A19 #19B42A
tetradic
#2A19B4 #B41955 #A3B419 #19B478
square
#2A19B4 #B41955 #A3B419 #19B478
split-complementary
#2A19B4 #B47819 #55B419
monochromatic
#110A49 #1D127E #2A19B4 #3D29E1 #6E5FE9

Accessibility & contrast

On white

11.07
#2A19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A19B4
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A19B4#FFFFFF#000000##FFFFFF
##2A19B41.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a19b4;
/* rgb */ color: rgb(42, 25, 180);
/* oklch */ color: oklch(38.0% 0.221 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d5dcc',
    500: '#2a19b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a19b4;
$custom-light: #7d5dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a19b4",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 246.581,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37982,
    "c": 0.22092,
    "h": 273.1
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#2A19B4
secondary
#C0CD5C
accent
#F236DE
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2A19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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