#2916B4#2916B4

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

Color values

HEX#2916B4
RGBrgb(41, 22, 180)
HSLhsl(247, 78%, 40%)
HSVhsv(247, 88%, 71%)
CMYKcmyk(77.2%, 87.8%, 0%, 29.4%)
CIE-LABlab(24.76, 55.82, -77.03)
CIE-LCHlch(24.76, 95.13, 305.93°)
OKLaboklab(37.66% 0.0111 -0.2227)
OKLCHoklch(37.66% 0.223 272.9)
XYZxyz(9.4368, 4.3395, 43.5114)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2916B4 #A1B416
analogous
#1652B4 #2916B4 #7816B4
triadic
#2916B4 #B42916 #16B429
tetradic
#2916B4 #B41652 #A1B416 #16B478
square
#2916B4 #B41652 #A1B416 #16B478
split-complementary
#2916B4 #B47816 #52B416
monochromatic
#100947 #1D0F7D #2916B4 #3A23E4 #6B5AEB

Accessibility & contrast

On white

11.24
#2916B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2916B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2916B4
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2916B4#FFFFFF#000000##FFFFFF
##2916B41.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)
#0042B8
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2916b4;
/* rgb */ color: rgb(41, 22, 180);
/* oklch */ color: oklch(37.7% 0.223 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d5ccc',
    500: '#2916b4',
    950: '#000000',
  },
}
SCSS
$custom: #2916b4;
$custom-light: #7d5ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2916b4",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 247.215,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37664,
    "c": 0.22296,
    "h": 272.9
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#2916B4
secondary
#C0CE58
accent
#F533DD
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2916B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2916B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva