#2B16B4#2B16B4

#2B16B4 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.8% C 0.222 H 273.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2B16B4
RGBrgb(43, 22, 180)
HSLhsl(248, 78%, 40%)
HSVhsv(248, 88%, 71%)
CMYKcmyk(76.1%, 87.8%, 0%, 29.4%)
CIE-LABlab(24.90, 55.92, -76.81)
CIE-LCHlch(24.90, 95.01, 306.06°)
OKLaboklab(37.79% 0.0138 -0.222)
OKLCHoklch(37.79% 0.222 273.5)
XYZxyz(9.5187, 4.3817, 43.5153)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B16B4 #9FB416
analogous
#1650B4 #2B16B4 #7A16B4
triadic
#2B16B4 #B42B16 #16B42B
tetradic
#2B16B4 #B41650 #9FB416 #16B47A
square
#2B16B4 #B41650 #9FB416 #16B47A
split-complementary
#2B16B4 #B47A16 #50B416
monochromatic
#110947 #1E0F7D #2B16B4 #3D23E4 #6D5AEB

Accessibility & contrast

On white

11.19
#2B16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B16B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B16B4
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B16B4#FFFFFF#000000##FFFFFF
##2B16B41.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b16b4;
/* rgb */ color: rgb(43, 22, 180);
/* oklch */ color: oklch(37.8% 0.222 273.5);
Tailwind
colors: {
  custom: {
    50: '#7d5ccc',
    500: '#2b16b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b16b4;
$custom-light: #7d5ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b16b4",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 247.975,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37789,
    "c": 0.22243,
    "h": 273.5
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B16B4

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

Preview Lab → · Contrast checker → · Palette generator →

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