#2B19A0#2B19A0

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

Color values

HEX#2B19A0
RGBrgb(43, 25, 160)
HSLhsl(248, 73%, 36%)
HSVhsv(248, 84%, 63%)
CMYKcmyk(73.1%, 84.4%, 0%, 37.3%)
CIE-LABlab(22.81, 48.93, -68.19)
CIE-LCHlch(22.81, 83.93, 305.66°)
OKLaboklab(35.66% 0.019 -0.1971)
OKLCHoklch(35.66% 0.198 275.5)
XYZxyz(7.6870, 3.7462, 33.5689)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B19A0 #8EA019
analogous
#194BA0 #2B19A0 #6F19A0
triadic
#2B19A0 #A02B19 #19A02B
tetradic
#2B19A0 #A0194B #8EA019 #19A06F
square
#2B19A0 #A0194B #8EA019 #19A06F
split-complementary
#2B19A0 #A06F19 #4BA019
monochromatic
#0F0836 #1D116B #2B19A0 #3921D5 #6350E4

Accessibility & contrast

On white

12.00
#2B19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B19A0
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B19A0#FFFFFF#000000##FFFFFF
##2B19A01.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b19a0;
/* rgb */ color: rgb(43, 25, 160);
/* oklch */ color: oklch(35.7% 0.198 275.5);
Tailwind
colors: {
  custom: {
    50: '#785bbe',
    500: '#2b19a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b19a0;
$custom-light: #785bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b19a0",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 248,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35657,
    "c": 0.19802,
    "h": 275.5
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#2B19A0
secondary
#B6C64F
accent
#F038D7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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