#2D19A1#2D19A1

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

Color values

HEX#2D19A1
RGBrgb(45, 25, 161)
HSLhsl(249, 73%, 36%)
HSVhsv(249, 84%, 63%)
CMYKcmyk(72%, 84.5%, 0%, 36.9%)
CIE-LABlab(23.09, 49.37, -68.34)
CIE-LCHlch(23.09, 84.31, 305.84°)
OKLaboklab(35.92% 0.0216 -0.1975)
OKLCHoklch(35.92% 0.199 276.2)
XYZxyz(7.8607, 3.8256, 34.0355)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D19A1 #8DA119
analogous
#1949A1 #2D19A1 #7119A1
triadic
#2D19A1 #A12D19 #19A12D
tetradic
#2D19A1 #A11949 #8DA119 #19A171
square
#2D19A1 #A11949 #8DA119 #19A171
split-complementary
#2D19A1 #A17119 #49A119
monochromatic
#0F0937 #1E116C #2D19A1 #3C21D6 #6650E4

Accessibility & contrast

On white

11.90
#2D19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D19A1
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D19A1#FFFFFF#000000##FFFFFF
##2D19A11.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d19a1;
/* rgb */ color: rgb(45, 25, 161);
/* oklch */ color: oklch(35.9% 0.199 276.2);
Tailwind
colors: {
  custom: {
    50: '#795bbe',
    500: '#2d19a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d19a1;
$custom-light: #795bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d19a1",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 248.824,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35918,
    "c": 0.19868,
    "h": 276.2
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#2D19A1
secondary
#B5C64F
accent
#F038D5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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