#291B73#291B73

#291B73 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.142 H 281.3°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#291B73
RGBrgb(41, 27, 115)
HSLhsl(250, 62%, 28%)
HSVhsv(250, 77%, 45%)
CMYKcmyk(64.3%, 76.5%, 0%, 54.9%)
CIE-LABlab(17.89, 33.47, -48.13)
CIE-LCHlch(17.89, 58.62, 304.82°)
OKLaboklab(30.68% 0.0278 -0.1388)
OKLCHoklch(30.68% 0.142 281.3)
XYZxyz(4.3999, 2.4928, 16.4656)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B73 #65731B
analogous
#1B3973 #291B73 #551B73
triadic
#291B73 #73291B #1B7329
tetradic
#291B73 #731B39 #65731B #1B7355
square
#291B73 #731B39 #65731B #1B7355
split-complementary
#291B73 #73551B #39731B
monochromatic
#090619 #170F41 #291B73 #3B27A5 #5038D0

Accessibility & contrast

On white

14.01
#291B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#291B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B73
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B73#FFFFFF#000000##FFFFFF
##291B731.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291b73;
/* rgb */ color: rgb(41, 27, 115);
/* oklch */ color: oklch(30.7% 0.142 281.3);
Tailwind
colors: {
  custom: {
    50: '#6d599c',
    500: '#291b73',
    950: '#000000',
  },
}
SCSS
$custom: #291b73;
$custom-light: #6d599c;
$custom-dark: #000000;
JSON
{
  "hex": "#291b73",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 249.545,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30675,
    "c": 0.14155,
    "h": 281.3
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#291B73
secondary
#97A842
accent
#E543CB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291B73

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

Preview Lab → · Contrast checker → · Palette generator →

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