#291E94#291E94

#291E94 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.180 H 275.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#291E94
RGBrgb(41, 30, 148)
HSLhsl(246, 66%, 35%)
HSVhsv(246, 80%, 58%)
CMYKcmyk(72.3%, 79.7%, 0%, 42%)
CIE-LABlab(22.08, 42.64, -62.04)
CIE-LCHlch(22.08, 75.28, 304.50°)
OKLaboklab(34.7% 0.0177 -0.1794)
OKLCHoklch(34.7% 0.18 275.6)
XYZxyz(6.7223, 3.5374, 28.3398)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E94 #89941E
analogous
#1E4E94 #291E94 #641E94
triadic
#291E94 #94291E #1E9429
tetradic
#291E94 #941E4E #89941E #1E9464
square
#291E94 #941E4E #89941E #1E9464
split-complementary
#291E94 #94641E #4E941E
monochromatic
#0D092E #1B1461 #291E94 #3728C7 #5E51DC

Accessibility & contrast

On white

12.30
#291E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291E94
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E94#FFFFFF#000000##FFFFFF
##291E941.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #291e94;
/* rgb */ color: rgb(41, 30, 148);
/* oklch */ color: oklch(34.7% 0.180 275.6);
Tailwind
colors: {
  custom: {
    50: '#745db5',
    500: '#291e94',
    950: '#000000',
  },
}
SCSS
$custom: #291e94;
$custom-light: #745db5;
$custom-dark: #000000;
JSON
{
  "hex": "#291e94",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 245.593,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34699,
    "c": 0.18025,
    "h": 275.6
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#291E94
secondary
#B4BF4F
accent
#E93FD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291E94

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

Preview Lab → · Contrast checker → · Palette generator →

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