#2B16B3#2B16B3

#2B16B3 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.7% C 0.221 H 273.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2B16B3
RGBrgb(43, 22, 179)
HSLhsl(248, 78%, 39%)
HSVhsv(248, 88%, 70%)
CMYKcmyk(76%, 87.7%, 0%, 29.8%)
CIE-LABlab(24.77, 55.64, -76.42)
CIE-LCHlch(24.77, 94.53, 306.06°)
OKLaboklab(37.67% 0.0141 -0.2209)
OKLCHoklch(37.67% 0.221 273.6)
XYZxyz(9.4172, 4.3411, 42.9807)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B16B3 #9EB316
analogous
#1650B3 #2B16B3 #7916B3
triadic
#2B16B3 #B32B16 #16B32B
tetradic
#2B16B3 #B31650 #9EB316 #16B379
square
#2B16B3 #B31650 #9EB316 #16B379
split-complementary
#2B16B3 #B37916 #50B316
monochromatic
#110946 #1E0F7C #2B16B3 #3C22E4 #6C59EB

Accessibility & contrast

On white

11.24
#2B16B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B16B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B16B3
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B16B3#FFFFFF#000000##FFFFFF
##2B16B31.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0033B0
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b16b3;
/* rgb */ color: rgb(43, 22, 179);
/* oklch */ color: oklch(37.7% 0.221 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ccb',
    500: '#2b16b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b16b3;
$custom-light: #7d5ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b16b3",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 248.025,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37667,
    "c": 0.22133,
    "h": 273.6
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#2B16B3
secondary
#BECE57
accent
#F533DB
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2B16B3

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

Preview Lab → · Contrast checker → · Palette generator →

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