#2D19A0#2D19A0

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

Color values

HEX#2D19A0
RGBrgb(45, 25, 160)
HSLhsl(249, 73%, 36%)
HSVhsv(249, 84%, 63%)
CMYKcmyk(71.9%, 84.4%, 0%, 37.3%)
CIE-LABlab(22.97, 49.07, -67.93)
CIE-LCHlch(22.97, 83.80, 305.84°)
OKLaboklab(35.8% 0.0219 -0.1963)
OKLCHoklch(35.8% 0.198 276.4)
XYZxyz(7.7729, 3.7905, 33.5729)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D19A0 #8CA019
analogous
#1949A0 #2D19A0 #7119A0
triadic
#2D19A0 #A02D19 #19A02D
tetradic
#2D19A0 #A01949 #8CA019 #19A071
square
#2D19A0 #A01949 #8CA019 #19A071
split-complementary
#2D19A0 #A07119 #49A019
monochromatic
#0F0836 #1E116B #2D19A0 #3C21D5 #6650E4

Accessibility & contrast

On white

11.94
#2D19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D19A0
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D19A0#FFFFFF#000000##FFFFFF
##2D19A01.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d19a0;
/* rgb */ color: rgb(45, 25, 160);
/* oklch */ color: oklch(35.8% 0.198 276.4);
Tailwind
colors: {
  custom: {
    50: '#795bbd',
    500: '#2d19a0',
    950: '#000000',
  },
}
SCSS
$custom: #2d19a0;
$custom-light: #795bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d19a0",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 248.889,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35801,
    "c": 0.19753,
    "h": 276.4
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#2D19A0
secondary
#B4C64F
accent
#F038D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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