#291FA6#291FA6

#291FA6 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.201 H 273.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#291FA6
RGBrgb(41, 31, 166)
HSLhsl(244, 69%, 39%)
HSVhsv(244, 81%, 65%)
CMYKcmyk(75.3%, 81.3%, 0%, 34.9%)
CIE-LABlab(24.33, 47.84, -69.32)
CIE-LCHlch(24.33, 84.23, 304.61°)
OKLaboklab(36.88% 0.0127 -0.2005)
OKLCHoklch(36.88% 0.201 273.6)
XYZxyz(8.2851, 4.2037, 36.4438)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291FA6 #9CA61F
analogous
#1F58A6 #291FA6 #6C1FA6
triadic
#291FA6 #A6291F #1FA629
tetradic
#291FA6 #A61F58 #9CA61F #1FA66C
square
#291FA6 #A61F58 #9CA61F #1FA66C
split-complementary
#291FA6 #A66C1F #58A61F
monochromatic
#100C3F #1C1572 #291FA6 #382BD7 #685EE1

Accessibility & contrast

On white

11.41
#291FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#291FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291FA6
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291FA6#FFFFFF#000000##FFFFFF
##291FA61.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0033A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #291fa6;
/* rgb */ color: rgb(41, 31, 166);
/* oklch */ color: oklch(36.9% 0.201 273.6);
Tailwind
colors: {
  custom: {
    50: '#795fc2',
    500: '#291fa6',
    950: '#000000',
  },
}
SCSS
$custom: #291fa6;
$custom-light: #795fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#291fa6",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 244.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36878,
    "c": 0.20093,
    "h": 273.6
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#291FA6
secondary
#BEC55B
accent
#EB3CDE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #291FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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