#291FA8#291FA8

#291FA8 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.203 H 273.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#291FA8
RGBrgb(41, 31, 168)
HSLhsl(244, 69%, 39%)
HSVhsv(244, 82%, 66%)
CMYKcmyk(75.6%, 81.5%, 0%, 34.1%)
CIE-LABlab(24.57, 48.47, -70.14)
CIE-LCHlch(24.57, 85.26, 304.64°)
OKLaboklab(37.11% 0.0122 -0.2029)
OKLCHoklch(37.11% 0.203 273.4)
XYZxyz(8.4700, 4.2777, 37.4175)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291FA8 #9EA81F
analogous
#1F59A8 #291FA8 #6E1FA8
triadic
#291FA8 #A8291F #1FA829
tetradic
#291FA8 #A81F59 #9EA81F #1FA86E
square
#291FA8 #A81F59 #9EA81F #1FA86E
split-complementary
#291FA8 #A86E1F #59A81F
monochromatic
#100C41 #1C1574 #291FA8 #392CD8 #6960E2

Accessibility & contrast

On white

11.32
#291FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291FA8
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291FA8#FFFFFF#000000##FFFFFF
##291FA81.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #291fa8;
/* rgb */ color: rgb(41, 31, 168);
/* oklch */ color: oklch(37.1% 0.203 273.4);
Tailwind
colors: {
  custom: {
    50: '#795fc3',
    500: '#291fa8',
    950: '#000000',
  },
}
SCSS
$custom: #291fa8;
$custom-light: #795fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#291fa8",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 244.38,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.20326,
    "h": 273.4
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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