#291AB3#291AB3

#291AB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.219 H 272.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#291AB3
RGBrgb(41, 26, 179)
HSLhsl(246, 75%, 40%)
HSVhsv(246, 85%, 70%)
CMYKcmyk(77.1%, 85.5%, 0%, 29.8%)
CIE-LABlab(25.15, 54.00, -75.79)
CIE-LCHlch(25.15, 93.06, 305.47°)
OKLaboklab(37.89% 0.0106 -0.2192)
OKLCHoklch(37.89% 0.219 272.8)
XYZxyz(9.4178, 4.4639, 43.0044)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291AB3 #A4B31A
analogous
#1A58B3 #291AB3 #751AB3
triadic
#291AB3 #B3291A #1AB329
tetradic
#291AB3 #B31A58 #A4B31A #1AB375
square
#291AB3 #B31A58 #A4B31A #1AB375
split-complementary
#291AB3 #B3751A #58B31A
monochromatic
#110A48 #1D127E #291AB3 #3C2AE0 #6D60E8

Accessibility & contrast

On white

11.09
#291AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#291AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291AB3
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291AB3#FFFFFF#000000##FFFFFF
##291AB31.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291ab3;
/* rgb */ color: rgb(41, 26, 179);
/* oklch */ color: oklch(37.9% 0.219 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c5dcb',
    500: '#291ab3',
    950: '#000000',
  },
}
SCSS
$custom: #291ab3;
$custom-light: #7c5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#291ab3",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 245.882,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37892,
    "c": 0.21944,
    "h": 272.8
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#291AB3
secondary
#C1CC5D
accent
#F137DF
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #291AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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