#291F73#291F73

#291F73 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.137 H 280.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#291F73
RGBrgb(41, 31, 115)
HSLhsl(247, 58%, 29%)
HSVhsv(247, 73%, 45%)
CMYKcmyk(64.3%, 73%, 0%, 54.9%)
CIE-LABlab(18.75, 31.06, -46.71)
CIE-LCHlch(18.75, 56.09, 303.62°)
OKLaboklab(31.29% 0.0246 -0.1347)
OKLCHoklch(31.29% 0.137 280.3)
XYZxyz(4.4980, 2.6889, 16.4983)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F73 #69731F
analogous
#1F3F73 #291F73 #531F73
triadic
#291F73 #73291F #1F7329
tetradic
#291F73 #731F3F #69731F #1F7353
square
#291F73 #731F3F #69731F #1F7353
split-complementary
#291F73 #73531F #3F731F
monochromatic
#090618 #181243 #291F73 #3A2CA3 #5141CC

Accessibility & contrast

On white

13.66
#291F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#291F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F73
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F73#FFFFFF#000000##FFFFFF
##291F731.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291f73;
/* rgb */ color: rgb(41, 31, 115);
/* oklch */ color: oklch(31.3% 0.137 280.3);
Tailwind
colors: {
  custom: {
    50: '#6d5c9c',
    500: '#291f73',
    950: '#000000',
  },
}
SCSS
$custom: #291f73;
$custom-light: #6d5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#291f73",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 247.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31292,
    "c": 0.13689,
    "h": 280.3
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#291F73
secondary
#9BA747
accent
#E147CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #291F73

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

Preview Lab → · Contrast checker → · Palette generator →

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