#291D94#291D94

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

Color values

HEX#291D94
RGBrgb(41, 29, 148)
HSLhsl(246, 67%, 35%)
HSVhsv(246, 80%, 58%)
CMYKcmyk(72.3%, 80.4%, 0%, 42%)
CIE-LABlab(21.90, 43.16, -62.34)
CIE-LCHlch(21.90, 75.82, 304.70°)
OKLaboklab(34.57% 0.0181 -0.1802)
OKLCHoklch(34.57% 0.181 275.7)
XYZxyz(6.6974, 3.4876, 28.3315)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D94 #88941D
analogous
#1D4D94 #291D94 #641D94
triadic
#291D94 #94291D #1D9429
tetradic
#291D94 #941D4D #88941D #1D9464
square
#291D94 #941D4D #88941D #1D9464
split-complementary
#291D94 #94641D #4D941D
monochromatic
#0D092E #1B1361 #291D94 #3727C7 #5D4FDC

Accessibility & contrast

On white

12.37
#291D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291D94
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D94#FFFFFF#000000##FFFFFF
##291D941.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291d94;
/* rgb */ color: rgb(41, 29, 148);
/* oklch */ color: oklch(34.6% 0.181 275.7);
Tailwind
colors: {
  custom: {
    50: '#755cb5',
    500: '#291d94',
    950: '#000000',
  },
}
SCSS
$custom: #291d94;
$custom-light: #755cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#291d94",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 246.05,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34574,
    "c": 0.18114,
    "h": 275.7
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#291D94
secondary
#B4BF4E
accent
#EA3ED9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291D94

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

Preview Lab → · Contrast checker → · Palette generator →

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