#291E99#291E99

#291E99 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.186 H 275.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#291E99
RGBrgb(41, 30, 153)
HSLhsl(245, 67%, 36%)
HSVhsv(245, 80%, 60%)
CMYKcmyk(73.2%, 80.4%, 0%, 40%)
CIE-LABlab(22.65, 44.24, -64.18)
CIE-LCHlch(22.65, 77.95, 304.58°)
OKLaboklab(35.27% 0.0164 -0.1856)
OKLCHoklch(35.27% 0.186 275)
XYZxyz(7.1266, 3.6992, 30.4692)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E99 #8E991E
analogous
#1E5099 #291E99 #661E99
triadic
#291E99 #99291E #1E9929
tetradic
#291E99 #991E50 #8E991E #1E9966
square
#291E99 #991E50 #8E991E #1E9966
split-complementary
#291E99 #99661E #50991E
monochromatic
#0E0A33 #1B1466 #291E99 #3728CC #6054DD

Accessibility & contrast

On white

12.07
#291E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#291E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E99
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E99#FFFFFF#000000##FFFFFF
##291E991.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291e99;
/* rgb */ color: rgb(41, 30, 153);
/* oklch */ color: oklch(35.3% 0.186 275.0);
Tailwind
colors: {
  custom: {
    50: '#765db8',
    500: '#291e99',
    950: '#000000',
  },
}
SCSS
$custom: #291e99;
$custom-light: #765db8;
$custom-dark: #000000;
JSON
{
  "hex": "#291e99",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 245.366,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35266,
    "c": 0.1863,
    "h": 275
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#291E99
secondary
#B7C152
accent
#EA3EDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291E99

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

Preview Lab → · Contrast checker → · Palette generator →

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