#291D73#291D73

#291D73 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.139 H 280.8°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#291D73
RGBrgb(41, 29, 115)
HSLhsl(248, 60%, 28%)
HSVhsv(248, 75%, 45%)
CMYKcmyk(64.3%, 74.8%, 0%, 54.9%)
CIE-LABlab(18.31, 32.29, -47.43)
CIE-LCHlch(18.31, 57.38, 304.24°)
OKLaboklab(30.98% 0.0262 -0.1368)
OKLCHoklch(30.98% 0.139 280.8)
XYZxyz(4.4474, 2.5876, 16.4814)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D73 #67731D
analogous
#1D3C73 #291D73 #541D73
triadic
#291D73 #73291D #1D7329
tetradic
#291D73 #731D3C #67731D #1D7354
square
#291D73 #731D3C #67731D #1D7354
split-complementary
#291D73 #73541D #3C731D
monochromatic
#090618 #181142 #291D73 #3A29A4 #513CCE

Accessibility & contrast

On white

13.84
#291D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#291D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D73
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D73#FFFFFF#000000##FFFFFF
##291D731.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291d73;
/* rgb */ color: rgb(41, 29, 115);
/* oklch */ color: oklch(31.0% 0.139 280.8);
Tailwind
colors: {
  custom: {
    50: '#6d5a9c',
    500: '#291d73',
    950: '#000000',
  },
}
SCSS
$custom: #291d73;
$custom-light: #6d5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#291d73",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 248.372,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30977,
    "c": 0.13926,
    "h": 280.8
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#291D73
secondary
#99A745
accent
#E345CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #291D73

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

Preview Lab → · Contrast checker → · Palette generator →

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