#291F92#291F92

#291F92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.177 H 275.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#291F92
RGBrgb(41, 31, 146)
HSLhsl(245, 65%, 35%)
HSVhsv(245, 79%, 57%)
CMYKcmyk(71.9%, 78.8%, 0%, 42.7%)
CIE-LABlab(22.04, 41.46, -60.87)
CIE-LCHlch(22.04, 73.65, 304.26°)
OKLaboklab(34.6% 0.0177 -0.176)
OKLCHoklch(34.6% 0.177 275.7)
XYZxyz(6.5910, 3.5261, 27.5218)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F92 #88921F
analogous
#1F4F92 #291F92 #621F92
triadic
#291F92 #92291F #1F9229
tetradic
#291F92 #921F4F #88921F #1F9262
square
#291F92 #921F4F #88921F #1F9262
split-complementary
#291F92 #92621F #4F921F
monochromatic
#0D0A2D #1B1460 #291F92 #372AC4 #5D51DA

Accessibility & contrast

On white

12.31
#291F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#291F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F92
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F92#FFFFFF#000000##FFFFFF
##291F921.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #291f92;
/* rgb */ color: rgb(41, 31, 146);
/* oklch */ color: oklch(34.6% 0.177 275.7);
Tailwind
colors: {
  custom: {
    50: '#745db3',
    500: '#291f92',
    950: '#000000',
  },
}
SCSS
$custom: #291f92;
$custom-light: #745db3;
$custom-dark: #000000;
JSON
{
  "hex": "#291f92",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 245.217,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34604,
    "c": 0.17688,
    "h": 275.7
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#291F92
secondary
#B4BD50
accent
#E840D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291F92

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

Preview Lab → · Contrast checker → · Palette generator →

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