#291D71#291D71

#291D71 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.137 H 281.2°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#291D71
RGBrgb(41, 29, 113)
HSLhsl(249, 59%, 28%)
HSVhsv(249, 74%, 44%)
CMYKcmyk(63.7%, 74.3%, 0%, 55.7%)
CIE-LABlab(18.11, 31.61, -46.47)
CIE-LCHlch(18.11, 56.20, 304.22°)
OKLaboklab(30.77% 0.0266 -0.134)
OKLCHoklch(30.77% 0.137 281.2)
XYZxyz(4.3335, 2.5421, 15.8819)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D71 #65711D
analogous
#1D3B71 #291D71 #531D71
triadic
#291D71 #71291D #1D7129
tetradic
#291D71 #711D3B #65711D #1D7153
square
#291D71 #711D3B #65711D #1D7153
split-complementary
#291D71 #71531D #3B711D
monochromatic
#090618 #171140 #291D71 #3B29A2 #503CCD

Accessibility & contrast

On white

13.92
#291D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#291D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D71
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D71#FFFFFF#000000##FFFFFF
##291D711.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291d71;
/* rgb */ color: rgb(41, 29, 113);
/* oklch */ color: oklch(30.8% 0.137 281.2);
Tailwind
colors: {
  custom: {
    50: '#6d5a9b',
    500: '#291d71',
    950: '#000000',
  },
}
SCSS
$custom: #291d71;
$custom-light: #6d5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#291d71",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 248.571,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30771,
    "c": 0.13659,
    "h": 281.2
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#291D71
secondary
#97A544
accent
#E245CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #291D71

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

Preview Lab → · Contrast checker → · Palette generator →

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