#2B16B0#2B16B0

#2B16B0 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.3% C 0.218 H 273.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2B16B0
RGBrgb(43, 22, 176)
HSLhsl(248, 78%, 39%)
HSVhsv(248, 88%, 69%)
CMYKcmyk(75.6%, 87.5%, 0%, 31%)
CIE-LABlab(24.39, 54.79, -75.25)
CIE-LCHlch(24.39, 93.09, 306.06°)
OKLaboklab(37.3% 0.015 -0.2175)
OKLCHoklch(37.3% 0.218 273.9)
XYZxyz(9.1170, 4.2211, 41.4001)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B16B0 #9BB016
analogous
#164EB0 #2B16B0 #7816B0
triadic
#2B16B0 #B02B16 #16B02B
tetradic
#2B16B0 #B0164E #9BB016 #16B078
square
#2B16B0 #B0164E #9BB016 #16B078
split-complementary
#2B16B0 #B07816 #4EB016
monochromatic
#100843 #1E0F7A #2B16B0 #3B20E3 #6B56EA

Accessibility & contrast

On white

11.39
#2B16B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B16B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B16B0
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B16B0#FFFFFF#000000##FFFFFF
##2B16B01.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B4
Deuteranopia (green-blind)
#0033AE
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b16b0;
/* rgb */ color: rgb(43, 22, 176);
/* oklch */ color: oklch(37.3% 0.218 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c5bc9',
    500: '#2b16b0',
    950: '#000000',
  },
}
SCSS
$custom: #2b16b0;
$custom-light: #7c5bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b16b0",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 176
  },
  "hsl": {
    "h": 248.182,
    "s": 77.778,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37301,
    "c": 0.21803,
    "h": 273.9
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#2B16B0
secondary
#BCCD55
accent
#F434DA
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0413
muted
#7D7982

Preview Lab

Preview with #2B16B0

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

Preview Lab → · Contrast checker → · Palette generator →

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