#291A8A#291A8A

#291A8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.172 H 277.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#291A8A
RGBrgb(41, 26, 138)
HSLhsl(248, 68%, 32%)
HSVhsv(248, 81%, 54%)
CMYKcmyk(70.3%, 81.2%, 0%, 45.9%)
CIE-LABlab(20.22, 41.51, -58.89)
CIE-LCHlch(20.22, 72.05, 305.18°)
OKLaboklab(33.07% 0.0223 -0.1702)
OKLCHoklch(33.07% 0.172 277.4)
XYZxyz(5.8698, 3.0447, 24.3182)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A8A #7B8A1A
analogous
#1A438A #291A8A #611A8A
triadic
#291A8A #8A291A #1A8A29
tetradic
#291A8A #8A1A43 #7B8A1A #1A8A61
square
#291A8A #8A1A43 #7B8A1A #1A8A61
split-complementary
#291A8A #8A611A #438A1A
monochromatic
#0A0723 #1A1057 #291A8A #3824BD #5743DC

Accessibility & contrast

On white

13.05
#291A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#291A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A8A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A8A#FFFFFF#000000##FFFFFF
##291A8A1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291a8a;
/* rgb */ color: rgb(41, 26, 138);
/* oklch */ color: oklch(33.1% 0.172 277.4);
Tailwind
colors: {
  custom: {
    50: '#725aad',
    500: '#291a8a',
    950: '#000000',
  },
}
SCSS
$custom: #291a8a;
$custom-light: #725aad;
$custom-dark: #000000;
JSON
{
  "hex": "#291a8a",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 248.036,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33068,
    "c": 0.17162,
    "h": 277.4
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#291A8A
secondary
#ACBD43
accent
#EB3DD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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