#291A9F#291A9F

#291A9F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.197 H 274.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#291A9F
RGBrgb(41, 26, 159)
HSLhsl(247, 72%, 36%)
HSVhsv(247, 84%, 62%)
CMYKcmyk(74.2%, 83.6%, 0%, 37.6%)
CIE-LABlab(22.70, 48.04, -67.78)
CIE-LCHlch(22.70, 83.07, 305.33°)
OKLaboklab(35.5% 0.0162 -0.196)
OKLCHoklch(35.5% 0.197 274.7)
XYZxyz(7.5398, 3.7127, 33.1134)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A9F #909F1A
analogous
#1A4E9F #291A9F #6C1A9F
triadic
#291A9F #9F291A #1A9F29
tetradic
#291A9F #9F1A4E #909F1A #1A9F6C
square
#291A9F #9F1A4E #909F1A #1A9F6C
split-complementary
#291A9F #9F6C1A #4E9F1A
monochromatic
#0E0936 #1B116A #291A9F #3723D4 #6151E3

Accessibility & contrast

On white

12.05
#291A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#291A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A9F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A9F#FFFFFF#000000##FFFFFF
##291A9F1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291a9f;
/* rgb */ color: rgb(41, 26, 159);
/* oklch */ color: oklch(35.5% 0.197 274.7);
Tailwind
colors: {
  custom: {
    50: '#775cbd',
    500: '#291a9f',
    950: '#000000',
  },
}
SCSS
$custom: #291a9f;
$custom-light: #775cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#291a9f",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 246.767,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35504,
    "c": 0.19663,
    "h": 274.7
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#291A9F
secondary
#B8C550
accent
#EF39DA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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