#2C19A0#2C19A0

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

Color values

HEX#2C19A0
RGBrgb(44, 25, 160)
HSLhsl(248, 73%, 36%)
HSVhsv(248, 84%, 63%)
CMYKcmyk(72.5%, 84.4%, 0%, 37.3%)
CIE-LABlab(22.89, 49.00, -68.06)
CIE-LCHlch(22.89, 83.86, 305.75°)
OKLaboklab(35.73% 0.0205 -0.1967)
OKLCHoklch(35.73% 0.198 275.9)
XYZxyz(7.7294, 3.7681, 33.5709)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C19A0 #8DA019
analogous
#194AA0 #2C19A0 #7019A0
triadic
#2C19A0 #A02C19 #19A02C
tetradic
#2C19A0 #A0194A #8DA019 #19A070
square
#2C19A0 #A0194A #8DA019 #19A070
split-complementary
#2C19A0 #A07019 #4AA019
monochromatic
#0F0836 #1D116B #2C19A0 #3B21D5 #6550E4

Accessibility & contrast

On white

11.97
#2C19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C19A0
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C19A0#FFFFFF#000000##FFFFFF
##2C19A01.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.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: #2c19a0;
/* rgb */ color: rgb(44, 25, 160);
/* oklch */ color: oklch(35.7% 0.198 275.9);
Tailwind
colors: {
  custom: {
    50: '#795bbe',
    500: '#2c19a0',
    950: '#000000',
  },
}
SCSS
$custom: #2c19a0;
$custom-light: #795bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c19a0",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 248.444,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35728,
    "c": 0.19777,
    "h": 275.9
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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