#291999#291999

#291999 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.190 H 275.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#291999
RGBrgb(41, 25, 153)
HSLhsl(248, 72%, 35%)
HSVhsv(248, 84%, 60%)
CMYKcmyk(73.2%, 83.7%, 0%, 40%)
CIE-LABlab(21.82, 46.66, -65.55)
CIE-LCHlch(21.82, 80.46, 305.44°)
OKLaboklab(34.69% 0.0183 -0.1895)
OKLCHoklch(34.69% 0.19 275.5)
XYZxyz(7.0100, 3.4659, 30.4304)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291999 #899919
analogous
#194999 #291999 #691999
triadic
#291999 #992919 #199929
tetradic
#291999 #991949 #899919 #199969
square
#291999 #991949 #899919 #199969
split-complementary
#291999 #996919 #499919
monochromatic
#0D0830 #1B1064 #291999 #3722CE #5E4BE2

Accessibility & contrast

On white

12.40
#291999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#291999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291999
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291999#FFFFFF#000000##FFFFFF
##2919991.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002E97
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291999;
/* rgb */ color: rgb(41, 25, 153);
/* oklch */ color: oklch(34.7% 0.190 275.5);
Tailwind
colors: {
  custom: {
    50: '#765bb8',
    500: '#291999',
    950: '#000000',
  },
}
SCSS
$custom: #291999;
$custom-light: #765bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#291999",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 153
  },
  "hsl": {
    "h": 247.5,
    "s": 71.91,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3469,
    "c": 0.19037,
    "h": 275.5
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#291999
secondary
#B4C34A
accent
#EF39D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291999

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

Preview Lab → · Contrast checker → · Palette generator →

#291999 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva