#291D79#291D79

#291D79 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.147 H 279.7°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#291D79
RGBrgb(41, 29, 121)
HSLhsl(248, 61%, 29%)
HSVhsv(248, 76%, 47%)
CMYKcmyk(66.1%, 76%, 0%, 52.5%)
CIE-LABlab(18.93, 34.31, -50.27)
CIE-LCHlch(18.93, 60.86, 304.31°)
OKLaboklab(31.6% 0.0249 -0.1451)
OKLCHoklch(31.6% 0.147 279.7)
XYZxyz(4.8039, 2.7302, 18.3593)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D79 #6D791D
analogous
#1D3F79 #291D79 #571D79
triadic
#291D79 #79291D #1D7929
tetradic
#291D79 #791D3F #6D791D #1D7957
square
#291D79 #791D3F #6D791D #1D7957
split-complementary
#291D79 #79571D #3F791D
monochromatic
#080619 #181148 #291D79 #3A29AA #523FD1

Accessibility & contrast

On white

13.58
#291D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#291D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D79
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D79#FFFFFF#000000##FFFFFF
##291D791.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291d79;
/* rgb */ color: rgb(41, 29, 121);
/* oklch */ color: oklch(31.6% 0.147 279.7);
Tailwind
colors: {
  custom: {
    50: '#6e5ba1',
    500: '#291d79',
    950: '#000000',
  },
}
SCSS
$custom: #291d79;
$custom-light: #6e5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#291d79",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 247.826,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31604,
    "c": 0.14718,
    "h": 279.7
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#291D79
secondary
#9FAD45
accent
#E443CF
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291D79

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

Preview Lab → · Contrast checker → · Palette generator →

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