#291BB3#291BB3

#291BB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.0% C 0.219 H 272.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#291BB3
RGBrgb(41, 27, 179)
HSLhsl(246, 74%, 40%)
HSVhsv(246, 85%, 70%)
CMYKcmyk(77.1%, 84.9%, 0%, 29.8%)
CIE-LABlab(25.29, 53.59, -75.56)
CIE-LCHlch(25.29, 92.64, 305.35°)
OKLaboklab(37.99% 0.0104 -0.2185)
OKLCHoklch(37.99% 0.219 272.7)
XYZxyz(9.4403, 4.5089, 43.0119)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291BB3 #A5B31B
analogous
#1B59B3 #291BB3 #751BB3
triadic
#291BB3 #B3291B #1BB329
tetradic
#291BB3 #B31B59 #A5B31B #1BB375
square
#291BB3 #B31B59 #A5B31B #1BB375
split-complementary
#291BB3 #B3751B #59B31B
monochromatic
#110B49 #1D137E #291BB3 #3D2CDF #6E61E7

Accessibility & contrast

On white

11.04
#291BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#291BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291BB3
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291BB3#FFFFFF#000000##FFFFFF
##291BB31.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #291bb3;
/* rgb */ color: rgb(41, 27, 179);
/* oklch */ color: oklch(38.0% 0.219 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c5ecb',
    500: '#291bb3',
    950: '#000000',
  },
}
SCSS
$custom: #291bb3;
$custom-light: #7c5ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#291bb3",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 245.526,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37987,
    "c": 0.21878,
    "h": 272.7
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#291BB3
secondary
#C2CC5E
accent
#F037DF
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #291BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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