#291E92#291E92

#291E92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.178 H 275.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#291E92
RGBrgb(41, 30, 146)
HSLhsl(246, 66%, 35%)
HSVhsv(246, 79%, 57%)
CMYKcmyk(71.9%, 79.5%, 0%, 42.7%)
CIE-LABlab(21.85, 41.99, -61.18)
CIE-LCHlch(21.85, 74.20, 304.47°)
OKLaboklab(34.47% 0.0182 -0.1769)
OKLCHoklch(34.47% 0.178 275.9)
XYZxyz(6.5653, 3.4747, 27.5132)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E92 #87921E
analogous
#1E4D92 #291E92 #631E92
triadic
#291E92 #92291E #1E9229
tetradic
#291E92 #921E4D #87921E #1E9263
square
#291E92 #921E4D #87921E #1E9263
split-complementary
#291E92 #92631E #4D921E
monochromatic
#0C092C #1B145F #291E92 #3728C5 #5D4FDB

Accessibility & contrast

On white

12.39
#291E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#291E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E92
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E92#FFFFFF#000000##FFFFFF
##291E921.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291e92;
/* rgb */ color: rgb(41, 30, 146);
/* oklch */ color: oklch(34.5% 0.178 275.9);
Tailwind
colors: {
  custom: {
    50: '#745db3',
    500: '#291e92',
    950: '#000000',
  },
}
SCSS
$custom: #291e92;
$custom-light: #745db3;
$custom-dark: #000000;
JSON
{
  "hex": "#291e92",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 245.69,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34474,
    "c": 0.1778,
    "h": 275.9
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291E92

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

Preview Lab → · Contrast checker → · Palette generator →

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