#2D19B3#2D19B3

#2D19B3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.1% C 0.219 H 274.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2D19B3
RGBrgb(45, 25, 179)
HSLhsl(248, 75%, 40%)
HSVhsv(248, 86%, 70%)
CMYKcmyk(74.9%, 86%, 0%, 29.8%)
CIE-LABlab(25.28, 54.63, -75.57)
CIE-LCHlch(25.28, 93.24, 305.86°)
OKLaboklab(38.05% 0.0161 -0.2184)
OKLCHoklch(38.05% 0.219 274.2)
XYZxyz(9.5638, 4.5068, 43.0050)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D19B3 #9FB319
analogous
#1952B3 #2D19B3 #7A19B3
triadic
#2D19B3 #B32D19 #19B32D
tetradic
#2D19B3 #B31952 #9FB319 #19B37A
square
#2D19B3 #B31952 #9FB319 #19B37A
split-complementary
#2D19B3 #B37A19 #52B319
monochromatic
#120A48 #1F127D #2D19B3 #4028E1 #705EE8

Accessibility & contrast

On white

11.04
#2D19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D19B3
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D19B3#FFFFFF#000000##FFFFFF
##2D19B31.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d19b3;
/* rgb */ color: rgb(45, 25, 179);
/* oklch */ color: oklch(38.1% 0.219 274.2);
Tailwind
colors: {
  custom: {
    50: '#7e5dcb',
    500: '#2d19b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d19b3;
$custom-light: #7e5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d19b3",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 247.792,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.38052,
    "c": 0.21902,
    "h": 274.2
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#2D19B3
secondary
#BECC5B
accent
#F236DA
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2D19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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