#291699#291699

#291699 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.4% C 0.193 H 275.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#291699
RGBrgb(41, 22, 153)
HSLhsl(249, 75%, 34%)
HSVhsv(249, 86%, 60%)
CMYKcmyk(73.2%, 85.6%, 0%, 40%)
CIE-LABlab(21.37, 47.98, -66.29)
CIE-LCHlch(21.37, 81.84, 305.90°)
OKLaboklab(34.38% 0.0193 -0.1916)
OKLCHoklch(34.38% 0.193 275.8)
XYZxyz(6.9492, 3.3445, 30.4101)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291699 #869916
analogous
#164599 #291699 #6B1699
triadic
#291699 #992916 #169929
tetradic
#291699 #991645 #869916 #16996B
square
#291699 #991645 #869916 #16996B
split-complementary
#291699 #996B16 #459916
monochromatic
#0C072E #1B0E63 #291699 #371ECF #5C45E4

Accessibility & contrast

On white

12.58
#291699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#291699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291699
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291699#FFFFFF#000000##FFFFFF
##2916991.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291699;
/* rgb */ color: rgb(41, 22, 153);
/* oklch */ color: oklch(34.4% 0.193 275.8);
Tailwind
colors: {
  custom: {
    50: '#7659b8',
    500: '#291699',
    950: '#000000',
  },
}
SCSS
$custom: #291699;
$custom-light: #7659b8;
$custom-dark: #000000;
JSON
{
  "hex": "#291699",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 248.702,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34383,
    "c": 0.19256,
    "h": 275.8
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#291699
secondary
#B3C546
accent
#F136D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291699

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

Preview Lab → · Contrast checker → · Palette generator →

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