#291F82#291F82

#291F82 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.157 H 277.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#291F82
RGBrgb(41, 31, 130)
HSLhsl(246, 61%, 32%)
HSVhsv(246, 76%, 51%)
CMYKcmyk(68.5%, 76.2%, 0%, 49%)
CIE-LABlab(20.29, 36.16, -53.74)
CIE-LCHlch(20.29, 64.78, 303.94°)
OKLaboklab(32.86% 0.0215 -0.1552)
OKLCHoklch(32.86% 0.157 277.9)
XYZxyz(5.4324, 3.0626, 21.4196)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F82 #78821F
analogous
#1F4782 #291F82 #5B1F82
triadic
#291F82 #82291F #1F8229
tetradic
#291F82 #821F47 #78821F #1F825B
square
#291F82 #821F47 #78821F #1F825B
split-complementary
#291F82 #825B1F #47821F
monochromatic
#0A071F #191351 #291F82 #392BB3 #5648D3

Accessibility & contrast

On white

13.02
#291F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#291F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F82
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F82#FFFFFF#000000##FFFFFF
##291F821.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291f82;
/* rgb */ color: rgb(41, 31, 130);
/* oklch */ color: oklch(32.9% 0.157 277.9);
Tailwind
colors: {
  custom: {
    50: '#705ca7',
    500: '#291f82',
    950: '#000000',
  },
}
SCSS
$custom: #291f82;
$custom-light: #705ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#291f82",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 246.061,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32855,
    "c": 0.1567,
    "h": 277.9
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#291F82
secondary
#AAB548
accent
#E543D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291F82

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

Preview Lab → · Contrast checker → · Palette generator →

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