#291AB4#291AB4

#291AB4 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.0% C 0.221 H 272.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#291AB4
RGBrgb(41, 26, 180)
HSLhsl(246, 75%, 40%)
HSVhsv(246, 86%, 71%)
CMYKcmyk(77.2%, 85.6%, 0%, 29.4%)
CIE-LABlab(25.27, 54.29, -76.18)
CIE-LCHlch(25.27, 93.55, 305.48°)
OKLaboklab(38.01% 0.0103 -0.2203)
OKLCHoklch(38.01% 0.221 272.7)
XYZxyz(9.5193, 4.5045, 43.5389)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291AB4 #A5B41A
analogous
#1A58B4 #291AB4 #761AB4
triadic
#291AB4 #B4291A #1AB429
tetradic
#291AB4 #B41A58 #A5B41A #1AB476
square
#291AB4 #B41A58 #A5B41A #1AB476
split-complementary
#291AB4 #B4761A #58B41A
monochromatic
#110B49 #1D127F #291AB4 #3D2BE0 #6E60E8

Accessibility & contrast

On white

11.05
#291AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#291AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291AB4
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291AB4#FFFFFF#000000##FFFFFF
##291AB41.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #291ab4;
/* rgb */ color: rgb(41, 26, 180);
/* oklch */ color: oklch(38.0% 0.221 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c5dcc',
    500: '#291ab4',
    950: '#000000',
  },
}
SCSS
$custom: #291ab4;
$custom-light: #7c5dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#291ab4",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 245.844,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.22055,
    "h": 272.7
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#291AB4
secondary
#C2CC5D
accent
#F136DF
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #291AB4

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

Preview Lab → · Contrast checker → · Palette generator →

#291AB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva