#291D7F#291D7F

#291D7F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.155 H 278.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#291D7F
RGBrgb(41, 29, 127)
HSLhsl(247, 63%, 31%)
HSVhsv(247, 77%, 50%)
CMYKcmyk(67.7%, 77.2%, 0%, 50.2%)
CIE-LABlab(19.57, 36.31, -53.04)
CIE-LCHlch(19.57, 64.28, 304.39°)
OKLaboklab(32.25% 0.0235 -0.1532)
OKLCHoklch(32.25% 0.155 278.7)
XYZxyz(5.1834, 2.8820, 20.3577)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D7F #737F1D
analogous
#1D427F #291D7F #5A1D7F
triadic
#291D7F #7F291D #1D7F29
tetradic
#291D7F #7F1D42 #737F1D #1D7F5A
square
#291D7F #7F1D42 #737F1D #1D7F5A
split-complementary
#291D7F #7F5A1D #427F1D
monochromatic
#09061B #19124D #291D7F #3928B1 #5442D4

Accessibility & contrast

On white

13.32
#291D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#291D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D7F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D7F#FFFFFF#000000##FFFFFF
##291D7F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291d7f;
/* rgb */ color: rgb(41, 29, 127);
/* oklch */ color: oklch(32.2% 0.155 278.7);
Tailwind
colors: {
  custom: {
    50: '#705ba5',
    500: '#291d7f',
    950: '#000000',
  },
}
SCSS
$custom: #291d7f;
$custom-light: #705ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#291d7f",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 247.347,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32245,
    "c": 0.15496,
    "h": 278.7
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#291D7F
secondary
#A5B245
accent
#E642D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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