#291C77#291C77

#291C77 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.146 H 280.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#291C77
RGBrgb(41, 28, 119)
HSLhsl(249, 62%, 29%)
HSVhsv(249, 76%, 47%)
CMYKcmyk(65.5%, 76.5%, 0%, 53.3%)
CIE-LABlab(18.51, 34.22, -49.67)
CIE-LCHlch(18.51, 60.32, 304.56°)
OKLaboklab(31.25% 0.0261 -0.1433)
OKLCHoklch(31.25% 0.146 280.3)
XYZxyz(4.6584, 2.6335, 17.7120)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C77 #6A771C
analogous
#1C3D77 #291C77 #571C77
triadic
#291C77 #77291C #1C7729
tetradic
#291C77 #771C3D #6A771C #1C7757
square
#291C77 #771C3D #6A771C #1C7757
split-complementary
#291C77 #77571C #3D771C
monochromatic
#090619 #181045 #291C77 #3A28A9 #523CD1

Accessibility & contrast

On white

13.75
#291C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#291C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C77
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C77#FFFFFF#000000##FFFFFF
##291C771.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291c77;
/* rgb */ color: rgb(41, 28, 119);
/* oklch */ color: oklch(31.2% 0.146 280.3);
Tailwind
colors: {
  custom: {
    50: '#6e5a9f',
    500: '#291c77',
    950: '#000000',
  },
}
SCSS
$custom: #291c77;
$custom-light: #6e5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#291c77",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 248.571,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31245,
    "c": 0.14567,
    "h": 280.3
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#291C77
secondary
#9CAB44
accent
#E543CE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #291C77

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

Preview Lab → · Contrast checker → · Palette generator →

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