#291B77#291B77

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

Color values

HEX#291B77
RGBrgb(41, 27, 119)
HSLhsl(249, 63%, 29%)
HSVhsv(249, 77%, 47%)
CMYKcmyk(65.5%, 77.3%, 0%, 53.3%)
CIE-LABlab(18.31, 34.80, -50.01)
CIE-LCHlch(18.31, 60.93, 304.83°)
OKLaboklab(31.1% 0.0268 -0.1443)
OKLCHoklch(31.1% 0.147 280.5)
XYZxyz(4.6351, 2.5868, 17.7042)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B77 #69771B
analogous
#1B3B77 #291B77 #571B77
triadic
#291B77 #77291B #1B7729
tetradic
#291B77 #771B3B #69771B #1B7757
square
#291B77 #771B3B #69771B #1B7757
split-complementary
#291B77 #77571B #3B771B
monochromatic
#090619 #181045 #291B77 #3A26A9 #513AD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##291B77#FFFFFF#000000##FFFFFF
##291B771.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)
#00307A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291b77;
/* rgb */ color: rgb(41, 27, 119);
/* oklch */ color: oklch(31.1% 0.147 280.5);
Tailwind
colors: {
  custom: {
    50: '#6e599f',
    500: '#291b77',
    950: '#000000',
  },
}
SCSS
$custom: #291b77;
$custom-light: #6e599f;
$custom-dark: #000000;
JSON
{
  "hex": "#291b77",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 249.13,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.311,
    "c": 0.14677,
    "h": 280.5
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#291B77
secondary
#9BAB42
accent
#E642CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040F
muted
#7B797E

Preview Lab

Preview with #291B77

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

Preview Lab → · Contrast checker → · Palette generator →

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