#2D19B4#2D19B4

#2D19B4 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.2% C 0.220 H 274.1°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2D19B4
RGBrgb(45, 25, 180)
HSLhsl(248, 76%, 40%)
HSVhsv(248, 86%, 71%)
CMYKcmyk(75%, 86.1%, 0%, 29.4%)
CIE-LABlab(25.40, 54.91, -75.96)
CIE-LCHlch(25.40, 93.73, 305.86°)
OKLaboklab(38.17% 0.0158 -0.2196)
OKLCHoklch(38.17% 0.22 274.1)
XYZxyz(9.6653, 4.5474, 43.5395)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D19B4 #A0B419
analogous
#1952B4 #2D19B4 #7A19B4
triadic
#2D19B4 #B42D19 #19B42D
tetradic
#2D19B4 #B41952 #A0B419 #19B47A
square
#2D19B4 #B41952 #A0B419 #19B47A
split-complementary
#2D19B4 #B47A19 #52B419
monochromatic
#120A49 #20127E #2D19B4 #4129E1 #705FE9

Accessibility & contrast

On white

11.00
#2D19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D19B4
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D19B4#FFFFFF#000000##FFFFFF
##2D19B41.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d19b4;
/* rgb */ color: rgb(45, 25, 180);
/* oklch */ color: oklch(38.2% 0.220 274.1);
Tailwind
colors: {
  custom: {
    50: '#7e5dcc',
    500: '#2d19b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d19b4;
$custom-light: #7e5dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d19b4",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 247.742,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.22014,
    "h": 274.1
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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