#291A7B#291A7B

#291A7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.153 H 280.0°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#291A7B
RGBrgb(41, 26, 123)
HSLhsl(249, 65%, 29%)
HSVhsv(249, 79%, 48%)
CMYKcmyk(66.7%, 78.9%, 0%, 51.8%)
CIE-LABlab(18.54, 36.68, -52.19)
CIE-LCHlch(18.54, 63.79, 305.10°)
OKLaboklab(31.39% 0.0264 -0.1506)
OKLCHoklch(31.39% 0.153 280)
XYZxyz(4.8579, 2.6399, 18.9886)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A7B #6C7B1A
analogous
#1A3C7B #291A7B #5A1A7B
triadic
#291A7B #7B291A #1A7B29
tetradic
#291A7B #7B1A3C #6C7B1A #1A7B5A
square
#291A7B #7B1A3C #6C7B1A #1A7B5A
split-complementary
#291A7B #7B5A1A #3C7B1A
monochromatic
#080519 #180F48 #291A7B #3A25AE #523AD5

Accessibility & contrast

On white

13.74
#291A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#291A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A7B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A7B#FFFFFF#000000##FFFFFF
##291A7B1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291a7b;
/* rgb */ color: rgb(41, 26, 123);
/* oklch */ color: oklch(31.4% 0.153 280.0);
Tailwind
colors: {
  custom: {
    50: '#6f59a2',
    500: '#291a7b',
    950: '#000000',
  },
}
SCSS
$custom: #291a7b;
$custom-light: #6f59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#291a7b",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 249.278,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31393,
    "c": 0.15294,
    "h": 280
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#291A7B
secondary
#9EAF42
accent
#E840CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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