#291C9E#291C9E

#291C9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.194 H 274.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#291C9E
RGBrgb(41, 28, 158)
HSLhsl(246, 70%, 36%)
HSVhsv(246, 82%, 62%)
CMYKcmyk(74.1%, 82.3%, 0%, 38%)
CIE-LABlab(22.90, 46.80, -66.84)
CIE-LCHlch(22.90, 81.59, 305.00°)
OKLaboklab(35.61% 0.0158 -0.1933)
OKLCHoklch(35.61% 0.194 274.7)
XYZxyz(7.4992, 3.7698, 32.6735)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C9E #919E1C
analogous
#1C509E #291C9E #6A1C9E
triadic
#291C9E #9E291C #1C9E29
tetradic
#291C9E #9E1C50 #919E1C #1C9E6A
square
#291C9E #9E1C50 #919E1C #1C9E6A
split-complementary
#291C9E #9E6A1C #509E1C
monochromatic
#0E0A36 #1C136A #291C9E #3625D2 #6254E1

Accessibility & contrast

On white

11.97
#291C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#291C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C9E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C9E#FFFFFF#000000##FFFFFF
##291C9E1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291c9e;
/* rgb */ color: rgb(41, 28, 158);
/* oklch */ color: oklch(35.6% 0.194 274.7);
Tailwind
colors: {
  custom: {
    50: '#775cbc',
    500: '#291c9e',
    950: '#000000',
  },
}
SCSS
$custom: #291c9e;
$custom-light: #775cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#291c9e",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 246,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35606,
    "c": 0.19392,
    "h": 274.7
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#291C9E
secondary
#B8C452
accent
#ED3BDB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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