#2B15A0#2B15A0

#2B15A0 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.3% C 0.201 H 275.8°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2B15A0
RGBrgb(43, 21, 160)
HSLhsl(249, 77%, 35%)
HSVhsv(249, 87%, 63%)
CMYKcmyk(73.1%, 86.9%, 0%, 37.3%)
CIE-LABlab(22.26, 50.58, -69.11)
CIE-LCHlch(22.26, 85.64, 306.20°)
OKLaboklab(35.28% 0.0203 -0.1997)
OKLCHoklch(35.28% 0.201 275.8)
XYZxyz(7.6075, 3.5872, 33.5424)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B15A0 #8AA015
analogous
#1545A0 #2B15A0 #7015A0
triadic
#2B15A0 #A02B15 #15A02B
tetradic
#2B15A0 #A01545 #8AA015 #15A070
square
#2B15A0 #A01545 #8AA015 #15A070
split-complementary
#2B15A0 #A07015 #45A015
monochromatic
#0E0734 #1C0E6A #2B15A0 #3A1CD6 #6148E7

Accessibility & contrast

On white

12.23
#2B15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2B15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B15A0
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B15A0#FFFFFF#000000##FFFFFF
##2B15A01.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b15a0;
/* rgb */ color: rgb(43, 21, 160);
/* oklch */ color: oklch(35.3% 0.201 275.8);
Tailwind
colors: {
  custom: {
    50: '#7959be',
    500: '#2b15a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b15a0;
$custom-light: #7959be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b15a0",
  "rgb": {
    "r": 43,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 249.496,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35276,
    "c": 0.20073,
    "h": 275.8
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#2B15A0
secondary
#B4C849
accent
#F334D5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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