#291E77#291E77

#291E77 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.143 H 279.9°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#291E77
RGBrgb(41, 30, 119)
HSLhsl(247, 60%, 29%)
HSVhsv(247, 75%, 47%)
CMYKcmyk(65.5%, 74.8%, 0%, 53.3%)
CIE-LABlab(18.93, 33.04, -48.98)
CIE-LCHlch(18.93, 59.08, 304.00°)
OKLaboklab(31.55% 0.0246 -0.1413)
OKLCHoklch(31.55% 0.143 279.9)
XYZxyz(4.7074, 2.7315, 17.7284)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E77 #6C771E
analogous
#1E4077 #291E77 #561E77
triadic
#291E77 #77291E #1E7729
tetradic
#291E77 #771E40 #6C771E #1E7756
square
#291E77 #771E40 #6C771E #1E7756
split-complementary
#291E77 #77561E #40771E
monochromatic
#080618 #181246 #291E77 #3A2AA8 #5240CF

Accessibility & contrast

On white

13.58
#291E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#291E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E77
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E77#FFFFFF#000000##FFFFFF
##291E771.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291e77;
/* rgb */ color: rgb(41, 30, 119);
/* oklch */ color: oklch(31.5% 0.143 279.9);
Tailwind
colors: {
  custom: {
    50: '#6e5b9f',
    500: '#291e77',
    950: '#000000',
  },
}
SCSS
$custom: #291e77;
$custom-light: #6e5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#291e77",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 247.416,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31545,
    "c": 0.14342,
    "h": 279.9
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#291E77
secondary
#9EAB46
accent
#E345CF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #291E77

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

Preview Lab → · Contrast checker → · Palette generator →

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