#291BA5#291BA5

#291BA5 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.3% C 0.203 H 274.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#291BA5
RGBrgb(41, 27, 165)
HSLhsl(246, 72%, 38%)
HSVhsv(246, 84%, 65%)
CMYKcmyk(75.2%, 83.6%, 0%, 35.3%)
CIE-LABlab(23.58, 49.41, -69.97)
CIE-LCHlch(23.58, 85.66, 305.23°)
OKLaboklab(36.32% 0.0142 -0.2023)
OKLCHoklch(36.32% 0.203 274)
XYZxyz(8.0957, 3.9711, 35.9299)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291BA5 #97A51B
analogous
#1B52A5 #291BA5 #6E1BA5
triadic
#291BA5 #A5291B #1BA529
tetradic
#291BA5 #A51B52 #97A51B #1BA56E
square
#291BA5 #A51B52 #97A51B #1BA56E
split-complementary
#291BA5 #A56E1B #52A51B
monochromatic
#0F0A3C #1C1270 #291BA5 #3624DA #6557E3

Accessibility & contrast

On white

11.70
#291BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#291BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291BA5
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291BA5#FFFFFF#000000##FFFFFF
##291BA51.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA9
Deuteranopia (green-blind)
#0032A3
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #291ba5;
/* rgb */ color: rgb(41, 27, 165);
/* oklch */ color: oklch(36.3% 0.203 274.0);
Tailwind
colors: {
  custom: {
    50: '#795cc1',
    500: '#291ba5',
    950: '#000000',
  },
}
SCSS
$custom: #291ba5;
$custom-light: #795cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#291ba5",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 165
  },
  "hsl": {
    "h": 246.087,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36319,
    "c": 0.20284,
    "h": 274
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#291BA5
secondary
#BBC755
accent
#EF39DC
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #291BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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