#291C8E#291C8E

#291C8E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.175 H 276.6°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#291C8E
RGBrgb(41, 28, 142)
HSLhsl(247, 67%, 33%)
HSVhsv(247, 80%, 56%)
CMYKcmyk(71.1%, 80.3%, 0%, 44.3%)
CIE-LABlab(21.03, 41.76, -60.05)
CIE-LCHlch(21.03, 73.14, 304.81°)
OKLaboklab(33.77% 0.0202 -0.1735)
OKLCHoklch(33.77% 0.175 276.6)
XYZxyz(6.2106, 3.2543, 25.8868)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C8E #818E1C
analogous
#1C488E #291C8E #621C8E
triadic
#291C8E #8E291C #1C8E29
tetradic
#291C8E #8E1C48 #818E1C #1C8E62
square
#291C8E #8E1C48 #818E1C #1C8E62
split-complementary
#291C8E #8E621C #488E1C
monochromatic
#0B0828 #1A125B #291C8E #3826C1 #5A49DB

Accessibility & contrast

On white

12.72
#291C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#291C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C8E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C8E#FFFFFF#000000##FFFFFF
##291C8E1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291c8e;
/* rgb */ color: rgb(41, 28, 142);
/* oklch */ color: oklch(33.8% 0.175 276.6);
Tailwind
colors: {
  custom: {
    50: '#735bb0',
    500: '#291c8e',
    950: '#000000',
  },
}
SCSS
$custom: #291c8e;
$custom-light: #735bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#291c8e",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 246.842,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33769,
    "c": 0.17472,
    "h": 276.6
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#291C8E
secondary
#B0BD49
accent
#EA3ED6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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