#291D9E#291D9E

#291D9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.193 H 274.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#291D9E
RGBrgb(41, 29, 158)
HSLhsl(246, 69%, 37%)
HSVhsv(246, 82%, 62%)
CMYKcmyk(74.1%, 81.6%, 0%, 38%)
CIE-LABlab(23.06, 46.32, -66.56)
CIE-LCHlch(23.06, 81.09, 304.83°)
OKLaboklab(35.72% 0.0154 -0.1925)
OKLCHoklch(35.72% 0.193 274.6)
XYZxyz(7.5233, 3.8180, 32.6816)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D9E #929E1D
analogous
#1D529E #291D9E #6A1D9E
triadic
#291D9E #9E291D #1D9E29
tetradic
#291D9E #9E1D52 #929E1D #1D9E6A
square
#291D9E #9E1D52 #929E1D #1D9E6A
split-complementary
#291D9E #9E6A1D #529E1D
monochromatic
#0E0A37 #1C146A #291D9E #3626D2 #6256E0

Accessibility & contrast

On white

11.91
#291D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#291D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D9E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D9E#FFFFFF#000000##FFFFFF
##291D9E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #291d9e;
/* rgb */ color: rgb(41, 29, 158);
/* oklch */ color: oklch(35.7% 0.193 274.6);
Tailwind
colors: {
  custom: {
    50: '#775dbc',
    500: '#291d9e',
    950: '#000000',
  },
}
SCSS
$custom: #291d9e;
$custom-light: #775dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#291d9e",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 245.581,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35721,
    "c": 0.19311,
    "h": 274.6
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#291D9E
secondary
#B9C354
accent
#EC3CDB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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