#291A94#291A94

#291A94 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.184 H 276.1°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#291A94
RGBrgb(41, 26, 148)
HSLhsl(247, 70%, 34%)
HSVhsv(247, 82%, 58%)
CMYKcmyk(72.3%, 82.4%, 0%, 42%)
CIE-LABlab(21.39, 44.65, -63.19)
CIE-LCHlch(21.39, 77.37, 305.25°)
OKLaboklab(34.22% 0.0194 -0.1826)
OKLCHoklch(34.22% 0.184 276.1)
XYZxyz(6.6274, 3.3477, 28.3081)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A94 #85941A
analogous
#1A4894 #291A94 #661A94
triadic
#291A94 #94291A #1A9429
tetradic
#291A94 #941A48 #85941A #1A9466
square
#291A94 #941A48 #85941A #1A9466
split-complementary
#291A94 #94661A #48941A
monochromatic
#0C082C #1B1160 #291A94 #3723C8 #5C49DF

Accessibility & contrast

On white

12.58
#291A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#291A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A94
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A94#FFFFFF#000000##FFFFFF
##291A941.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291a94;
/* rgb */ color: rgb(41, 26, 148);
/* oklch */ color: oklch(34.2% 0.184 276.1);
Tailwind
colors: {
  custom: {
    50: '#755bb5',
    500: '#291a94',
    950: '#000000',
  },
}
SCSS
$custom: #291a94;
$custom-light: #755bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#291a94",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 247.377,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34217,
    "c": 0.18368,
    "h": 276.1
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#291A94
secondary
#B2C149
accent
#ED3BD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291A94

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

Preview Lab → · Contrast checker → · Palette generator →

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