#291FA9#291FA9

#291FA9 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.204 H 273.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#291FA9
RGBrgb(41, 31, 169)
HSLhsl(244, 69%, 39%)
HSVhsv(244, 82%, 66%)
CMYKcmyk(75.7%, 81.7%, 0%, 33.7%)
CIE-LABlab(24.69, 48.78, -70.55)
CIE-LCHlch(24.69, 85.77, 304.66°)
OKLaboklab(37.23% 0.0119 -0.2041)
OKLCHoklch(37.23% 0.204 273.3)
XYZxyz(8.5635, 4.3151, 37.9100)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291FA9 #9FA91F
analogous
#1F5AA9 #291FA9 #6E1FA9
triadic
#291FA9 #A9291F #1FA929
tetradic
#291FA9 #A91F5A #9FA91F #1FA96E
square
#291FA9 #A91F5A #9FA91F #1FA96E
split-complementary
#291FA9 #A96E1F #5AA91F
monochromatic
#100C42 #1C1675 #291FA9 #392DD8 #6A60E2

Accessibility & contrast

On white

11.27
#291FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#291FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291FA9
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291FA9#FFFFFF#000000##FFFFFF
##291FA91.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0034A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #291fa9;
/* rgb */ color: rgb(41, 31, 169);
/* oklch */ color: oklch(37.2% 0.204 273.3);
Tailwind
colors: {
  custom: {
    50: '#795fc4',
    500: '#291fa9',
    950: '#000000',
  },
}
SCSS
$custom: #291fa9;
$custom-light: #795fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#291fa9",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 244.348,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37225,
    "c": 0.20444,
    "h": 273.3
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#291FA9
secondary
#BFC75D
accent
#EC3CDF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #291FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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