#291F80#291F80

#291F80 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.154 H 278.2°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#291F80
RGBrgb(41, 31, 128)
HSLhsl(246, 61%, 31%)
HSVhsv(246, 76%, 50%)
CMYKcmyk(68%, 75.8%, 0%, 49.8%)
CIE-LABlab(20.08, 35.49, -52.83)
CIE-LCHlch(20.08, 63.64, 303.89°)
OKLaboklab(32.64% 0.0219 -0.1525)
OKLCHoklch(32.64% 0.154 278.2)
XYZxyz(5.2995, 3.0095, 20.7195)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F80 #76801F
analogous
#1F4580 #291F80 #591F80
triadic
#291F80 #80291F #1F8029
tetradic
#291F80 #801F45 #76801F #1F8059
square
#291F80 #801F45 #76801F #1F8059
split-complementary
#291F80 #80591F #45801F
monochromatic
#09071D #19134F #291F80 #392BB1 #5547D2

Accessibility & contrast

On white

13.11
#291F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#291F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F80
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F80#FFFFFF#000000##FFFFFF
##291F801.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291f80;
/* rgb */ color: rgb(41, 31, 128);
/* oklch */ color: oklch(32.6% 0.154 278.2);
Tailwind
colors: {
  custom: {
    50: '#705ca6',
    500: '#291f80',
    950: '#000000',
  },
}
SCSS
$custom: #291f80;
$custom-light: #705ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#291f80",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 246.186,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32642,
    "c": 0.15412,
    "h": 278.2
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#291F80
secondary
#A8B348
accent
#E444D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291F80

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

Preview Lab → · Contrast checker → · Palette generator →

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