#291B9F#291B9F

#291B9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.196 H 274.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#291B9F
RGBrgb(41, 27, 159)
HSLhsl(246, 71%, 36%)
HSVhsv(246, 83%, 62%)
CMYKcmyk(74.2%, 83%, 0%, 37.6%)
CIE-LABlab(22.85, 47.58, -67.52)
CIE-LCHlch(22.85, 82.60, 305.17°)
OKLaboklab(35.61% 0.0159 -0.1952)
OKLCHoklch(35.61% 0.196 274.7)
XYZxyz(7.5623, 3.7577, 33.1209)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B9F #919F1B
analogous
#1B4F9F #291B9F #6B1B9F
triadic
#291B9F #9F291B #1B9F29
tetradic
#291B9F #9F1B4F #919F1B #1B9F6B
square
#291B9F #9F1B4F #919F1B #1B9F6B
split-complementary
#291B9F #9F6B1B #4F9F1B
monochromatic
#0E0936 #1C126B #291B9F #3624D3 #6253E2

Accessibility & contrast

On white

11.99
#291B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#291B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B9F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B9F#FFFFFF#000000##FFFFFF
##291B9F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291b9f;
/* rgb */ color: rgb(41, 27, 159);
/* oklch */ color: oklch(35.6% 0.196 274.7);
Tailwind
colors: {
  custom: {
    50: '#775cbd',
    500: '#291b9f',
    950: '#000000',
  },
}
SCSS
$custom: #291b9f;
$custom-light: #775cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#291b9f",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 246.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.19587,
    "h": 274.7
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#291B9F
secondary
#B8C551
accent
#EE3ADB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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