#291C9F#291C9F

#291C9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.195 H 274.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#291C9F
RGBrgb(41, 28, 159)
HSLhsl(246, 70%, 37%)
HSVhsv(246, 82%, 62%)
CMYKcmyk(74.2%, 82.4%, 0%, 37.6%)
CIE-LABlab(23.01, 47.11, -67.25)
CIE-LCHlch(23.01, 82.11, 305.01°)
OKLaboklab(35.72% 0.0155 -0.1945)
OKLCHoklch(35.72% 0.195 274.6)
XYZxyz(7.5856, 3.8044, 33.1287)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C9F #929F1C
analogous
#1C519F #291C9F #6B1C9F
triadic
#291C9F #9F291C #1C9F29
tetradic
#291C9F #9F1C51 #929F1C #1C9F6B
square
#291C9F #9F1C51 #929F1C #1C9F6B
split-complementary
#291C9F #9F6B1C #519F1C
monochromatic
#0E0A37 #1C136B #291C9F #3625D3 #6254E1

Accessibility & contrast

On white

11.93
#291C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#291C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C9F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C9F#FFFFFF#000000##FFFFFF
##291C9F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #291c9f;
/* rgb */ color: rgb(41, 28, 159);
/* oklch */ color: oklch(35.7% 0.195 274.6);
Tailwind
colors: {
  custom: {
    50: '#775dbd',
    500: '#291c9f',
    950: '#000000',
  },
}
SCSS
$custom: #291c9f;
$custom-light: #775dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#291c9f",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 245.954,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.19509,
    "h": 274.6
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#291C9F
secondary
#B9C453
accent
#ED3BDB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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