#291FAA#291FAA

#291FAA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.206 H 273.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#291FAA
RGBrgb(41, 31, 170)
HSLhsl(244, 69%, 39%)
HSVhsv(244, 82%, 67%)
CMYKcmyk(75.9%, 81.8%, 0%, 33.3%)
CIE-LABlab(24.81, 49.09, -70.96)
CIE-LCHlch(24.81, 86.28, 304.67°)
OKLaboklab(37.34% 0.0116 -0.2053)
OKLCHoklch(37.34% 0.206 273.2)
XYZxyz(8.6577, 4.3528, 38.4063)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291FAA #A0AA1F
analogous
#1F5AAA #291FAA #6F1FAA
triadic
#291FAA #AA291F #1FAA29
tetradic
#291FAA #AA1F5A #A0AA1F #1FAA6F
square
#291FAA #AA1F5A #A0AA1F #1FAA6F
split-complementary
#291FAA #AA6F1F #5AAA1F
monochromatic
#100C42 #1D1676 #291FAA #3A2DD9 #6A61E2

Accessibility & contrast

On white

11.23
#291FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#291FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291FAA
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291FAA#FFFFFF#000000##FFFFFF
##291FAA1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #291faa;
/* rgb */ color: rgb(41, 31, 170);
/* oklch */ color: oklch(37.3% 0.206 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a5fc5',
    500: '#291faa',
    950: '#000000',
  },
}
SCSS
$custom: #291faa;
$custom-light: #7a5fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#291faa",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 244.317,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.2056,
    "h": 273.2
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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