#291FBD#291FBD

#291FBD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.6% C 0.227 H 271.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#291FBD
RGBrgb(41, 31, 189)
HSLhsl(244, 72%, 43%)
HSVhsv(244, 84%, 74%)
CMYKcmyk(78.3%, 83.6%, 0%, 25.9%)
CIE-LABlab(27.09, 54.86, -78.52)
CIE-LCHlch(27.09, 95.79, 304.94°)
OKLaboklab(39.57% 0.0069 -0.2272)
OKLCHoklch(39.57% 0.227 271.7)
XYZxyz(10.5867, 5.1243, 48.5654)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291FBD #B3BD1F
analogous
#1F64BD #291FBD #781FBD
triadic
#291FBD #BD291F #1FBD29
tetradic
#291FBD #BD1F64 #B3BD1F #1FBD78
square
#291FBD #BD1F64 #B3BD1F #1FBD78
split-complementary
#291FBD #BD781F #64BD1F
monochromatic
#120E54 #1E1688 #291FBD #453ADF #776FE7

Accessibility & contrast

On white

10.37
#291FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#291FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291FBD
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291FBD#FFFFFF#000000##FFFFFF
##291FBD1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C1
Deuteranopia (green-blind)
#0038BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #291fbd;
/* rgb */ color: rgb(41, 31, 189);
/* oklch */ color: oklch(39.6% 0.227 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e60d2',
    500: '#291fbd',
    950: '#000000',
  },
}
SCSS
$custom: #291fbd;
$custom-light: #7e60d2;
$custom-dark: #000000;
JSON
{
  "hex": "#291fbd",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 189
  },
  "hsl": {
    "h": 243.797,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.22728,
    "h": 271.7
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#291FBD
secondary
#C7CE6A
accent
#EF39E3
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #291FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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