#291A77#291A77

#291A77 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.148 H 280.7°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#291A77
RGBrgb(41, 26, 119)
HSLhsl(250, 64%, 28%)
HSVhsv(250, 78%, 47%)
CMYKcmyk(65.5%, 78.2%, 0%, 53.3%)
CIE-LABlab(18.11, 35.37, -50.34)
CIE-LCHlch(18.11, 61.52, 305.09°)
OKLaboklab(30.96% 0.0275 -0.1453)
OKLCHoklch(30.96% 0.148 280.7)
XYZxyz(4.6126, 2.5418, 17.6967)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A77 #68771A
analogous
#1A3977 #291A77 #571A77
triadic
#291A77 #77291A #1A7729
tetradic
#291A77 #771A39 #68771A #1A7757
square
#291A77 #771A39 #68771A #1A7757
split-complementary
#291A77 #77571A #39771A
monochromatic
#090519 #180F45 #291A77 #3A25A9 #5138D3

Accessibility & contrast

On white

13.92
#291A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#291A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A77
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A77#FFFFFF#000000##FFFFFF
##291A771.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291a77;
/* rgb */ color: rgb(41, 26, 119);
/* oklch */ color: oklch(31.0% 0.148 280.7);
Tailwind
colors: {
  custom: {
    50: '#6e599f',
    500: '#291a77',
    950: '#000000',
  },
}
SCSS
$custom: #291a77;
$custom-light: #6e599f;
$custom-dark: #000000;
JSON
{
  "hex": "#291a77",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 249.677,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30959,
    "c": 0.14784,
    "h": 280.7
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#291A77
secondary
#9AAC41
accent
#E741CC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #291A77

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

Preview Lab → · Contrast checker → · Palette generator →

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