#291B74#291B74

#291B74 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.143 H 281.1°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#291B74
RGBrgb(41, 27, 116)
HSLhsl(249, 62%, 28%)
HSVhsv(249, 77%, 45%)
CMYKcmyk(64.7%, 76.7%, 0%, 54.5%)
CIE-LABlab(17.99, 33.80, -48.60)
CIE-LCHlch(17.99, 59.20, 304.82°)
OKLaboklab(30.78% 0.0275 -0.1402)
OKLCHoklch(30.78% 0.143 281.1)
XYZxyz(4.4578, 2.5159, 16.7703)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B74 #66741B
analogous
#1B3974 #291B74 #551B74
triadic
#291B74 #74291B #1B7429
tetradic
#291B74 #741B39 #66741B #1B7455
square
#291B74 #741B39 #66741B #1B7455
split-complementary
#291B74 #74551B #39741B
monochromatic
#090619 #170F42 #291B74 #3B27A6 #5139D1

Accessibility & contrast

On white

13.97
#291B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291B74
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B74#FFFFFF#000000##FFFFFF
##291B741.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291b74;
/* rgb */ color: rgb(41, 27, 116);
/* oklch */ color: oklch(30.8% 0.143 281.1);
Tailwind
colors: {
  custom: {
    50: '#6d599d',
    500: '#291b74',
    950: '#000000',
  },
}
SCSS
$custom: #291b74;
$custom-light: #6d599d;
$custom-dark: #000000;
JSON
{
  "hex": "#291b74",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 249.438,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30781,
    "c": 0.14287,
    "h": 281.1
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#291B74
secondary
#98A942
accent
#E542CC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291B74

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

Preview Lab → · Contrast checker → · Palette generator →

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