#291A8F#291A8F

#291A8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.178 H 276.7°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#291A8F
RGBrgb(41, 26, 143)
HSLhsl(248, 69%, 33%)
HSVhsv(248, 82%, 56%)
CMYKcmyk(71.3%, 81.8%, 0%, 43.9%)
CIE-LABlab(20.80, 43.09, -61.06)
CIE-LCHlch(20.80, 74.73, 305.21°)
OKLaboklab(33.64% 0.0208 -0.1765)
OKLCHoklch(33.64% 0.178 276.7)
XYZxyz(6.2402, 3.1928, 26.2687)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A8F #808F1A
analogous
#1A468F #291A8F #631A8F
triadic
#291A8F #8F291A #1A8F29
tetradic
#291A8F #8F1A46 #808F1A #1A8F63
square
#291A8F #8F1A46 #808F1A #1A8F63
split-complementary
#291A8F #8F631A #468F1A
monochromatic
#0B0727 #1A115B #291A8F #3823C3 #5946DD

Accessibility & contrast

On white

12.82
#291A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#291A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A8F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A8F#FFFFFF#000000##FFFFFF
##291A8F1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291a8f;
/* rgb */ color: rgb(41, 26, 143);
/* oklch */ color: oklch(33.6% 0.178 276.7);
Tailwind
colors: {
  custom: {
    50: '#745ab1',
    500: '#291a8f',
    950: '#000000',
  },
}
SCSS
$custom: #291a8f;
$custom-light: #745ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#291a8f",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 247.692,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33639,
    "c": 0.17768,
    "h": 276.7
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#291A8F
secondary
#AFBF46
accent
#EC3CD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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