#291A8C#291A8C

#291A8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.174 H 277.2°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#291A8C
RGBrgb(41, 26, 140)
HSLhsl(248, 69%, 33%)
HSVhsv(248, 81%, 55%)
CMYKcmyk(70.7%, 81.4%, 0%, 45.1%)
CIE-LABlab(20.45, 42.14, -59.76)
CIE-LCHlch(20.45, 73.13, 305.19°)
OKLaboklab(33.3% 0.0217 -0.1727)
OKLCHoklch(33.3% 0.174 277.2)
XYZxyz(6.0159, 3.1031, 25.0878)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A8C #7D8C1A
analogous
#1A448C #291A8C #621A8C
triadic
#291A8C #8C291A #1A8C29
tetradic
#291A8C #8C1A44 #7D8C1A #1A8C62
square
#291A8C #8C1A44 #7D8C1A #1A8C62
split-complementary
#291A8C #8C621A #448C1A
monochromatic
#0B0725 #1A1058 #291A8C #3824C0 #5844DC

Accessibility & contrast

On white

12.96
#291A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#291A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A8C
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A8C#FFFFFF#000000##FFFFFF
##291A8C1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291a8c;
/* rgb */ color: rgb(41, 26, 140);
/* oklch */ color: oklch(33.3% 0.174 277.2);
Tailwind
colors: {
  custom: {
    50: '#735aaf',
    500: '#291a8c',
    950: '#000000',
  },
}
SCSS
$custom: #291a8c;
$custom-light: #735aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#291a8c",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 140
  },
  "hsl": {
    "h": 247.895,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33296,
    "c": 0.17406,
    "h": 277.2
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#291A8C
secondary
#AEBE44
accent
#EC3CD4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #291A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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