#291690#291690

#291690 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.182 H 277.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#291690
RGBrgb(41, 22, 144)
HSLhsl(249, 73%, 33%)
HSVhsv(249, 85%, 56%)
CMYKcmyk(71.5%, 84.7%, 0%, 43.5%)
CIE-LABlab(20.28, 45.28, -62.55)
CIE-LCHlch(20.28, 77.22, 305.90°)
OKLaboklab(33.31% 0.0222 -0.1807)
OKLCHoklch(33.31% 0.182 277)
XYZxyz(6.2338, 3.0583, 26.6419)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291690 #7D9016
analogous
#164090 #291690 #661690
triadic
#291690 #902916 #169029
tetradic
#291690 #901640 #7D9016 #169066
square
#291690 #901640 #7D9016 #169066
split-complementary
#291690 #906616 #409016
monochromatic
#0B0626 #1A0E5B #291690 #381EC5 #583FE2

Accessibility & contrast

On white

13.03
#291690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#291690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291690
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291690#FFFFFF#000000##FFFFFF
##2916901.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291690;
/* rgb */ color: rgb(41, 22, 144);
/* oklch */ color: oklch(33.3% 0.182 277.0);
Tailwind
colors: {
  custom: {
    50: '#7458b2',
    500: '#291690',
    950: '#000000',
  },
}
SCSS
$custom: #291690;
$custom-light: #7458b2;
$custom-dark: #000000;
JSON
{
  "hex": "#291690",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 249.344,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33312,
    "c": 0.18207,
    "h": 277
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#291690
secondary
#AEC240
accent
#F038D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291690

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

Preview Lab → · Contrast checker → · Palette generator →

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