#2B19B3#2B19B3

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

Color values

HEX#2B19B3
RGBrgb(43, 25, 179)
HSLhsl(247, 75%, 40%)
HSVhsv(247, 86%, 70%)
CMYKcmyk(76%, 86%, 0%, 29.8%)
CIE-LABlab(25.14, 54.51, -75.80)
CIE-LCHlch(25.14, 93.36, 305.72°)
OKLaboklab(37.92% 0.0134 -0.2191)
OKLCHoklch(37.92% 0.22 273.5)
XYZxyz(9.4779, 4.4625, 43.0009)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B19B3 #A1B319
analogous
#1954B3 #2B19B3 #7819B3
triadic
#2B19B3 #B32B19 #19B32B
tetradic
#2B19B3 #B31954 #A1B319 #19B378
square
#2B19B3 #B31954 #A1B319 #19B378
split-complementary
#2B19B3 #B37819 #54B319
monochromatic
#110A48 #1E127D #2B19B3 #3E28E1 #6E5EE8

Accessibility & contrast

On white

11.09
#2B19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B19B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B19B3
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B19B3#FFFFFF#000000##FFFFFF
##2B19B31.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b19b3;
/* rgb */ color: rgb(43, 25, 179);
/* oklch */ color: oklch(37.9% 0.220 273.5);
Tailwind
colors: {
  custom: {
    50: '#7d5dcb',
    500: '#2b19b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b19b3;
$custom-light: #7d5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b19b3",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 247.013,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.21954,
    "h": 273.5
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#2B19B3
secondary
#BFCC5B
accent
#F236DC
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2B19B3

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

Preview Lab → · Contrast checker → · Palette generator →

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