#2B19A1#2B19A1

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

Color values

HEX#2B19A1
RGBrgb(43, 25, 161)
HSLhsl(248, 73%, 36%)
HSVhsv(248, 84%, 63%)
CMYKcmyk(73.3%, 84.5%, 0%, 36.9%)
CIE-LABlab(22.93, 49.22, -68.60)
CIE-LCHlch(22.93, 84.43, 305.66°)
OKLaboklab(35.78% 0.0187 -0.1983)
OKLCHoklch(35.78% 0.199 275.4)
XYZxyz(7.7748, 3.7813, 34.0314)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B19A1 #8FA119
analogous
#194BA1 #2B19A1 #6F19A1
triadic
#2B19A1 #A12B19 #19A12B
tetradic
#2B19A1 #A1194B #8FA119 #19A16F
square
#2B19A1 #A1194B #8FA119 #19A16F
split-complementary
#2B19A1 #A16F19 #4BA119
monochromatic
#0F0937 #1D116C #2B19A1 #3921D6 #6450E4

Accessibility & contrast

On white

11.96
#2B19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B19A1
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B19A1#FFFFFF#000000##FFFFFF
##2B19A11.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b19a1;
/* rgb */ color: rgb(43, 25, 161);
/* oklch */ color: oklch(35.8% 0.199 275.4);
Tailwind
colors: {
  custom: {
    50: '#795bbe',
    500: '#2b19a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b19a1;
$custom-light: #795bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b19a1",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 247.941,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35775,
    "c": 0.19916,
    "h": 275.4
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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