#291CB0#291CB0

#291CB0 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.7% C 0.215 H 272.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#291CB0
RGBrgb(41, 28, 176)
HSLhsl(245, 73%, 40%)
HSVhsv(245, 84%, 69%)
CMYKcmyk(76.7%, 84.1%, 0%, 31%)
CIE-LABlab(25.06, 52.28, -74.14)
CIE-LCHlch(25.06, 90.72, 305.19°)
OKLaboklab(37.73% 0.0109 -0.2144)
OKLCHoklch(37.73% 0.215 272.9)
XYZxyz(9.1636, 4.4355, 41.4391)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291CB0 #A3B01C
analogous
#1C59B0 #291CB0 #731CB0
triadic
#291CB0 #B0291C #1CB029
tetradic
#291CB0 #B01C59 #A3B01C #1CB073
square
#291CB0 #B01C59 #A3B01C #1CB073
split-complementary
#291CB0 #B0731C #59B01C
monochromatic
#100B46 #1D147B #291CB0 #3B2CDD #6C61E6

Accessibility & contrast

On white

11.13
#291CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#291CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291CB0
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291CB0#FFFFFF#000000##FFFFFF
##291CB01.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B4
Deuteranopia (green-blind)
#0034AE
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #291cb0;
/* rgb */ color: rgb(41, 28, 176);
/* oklch */ color: oklch(37.7% 0.215 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b5ec9',
    500: '#291cb0',
    950: '#000000',
  },
}
SCSS
$custom: #291cb0;
$custom-light: #7b5ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#291cb0",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 176
  },
  "hsl": {
    "h": 245.27,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.37727,
    "c": 0.21472,
    "h": 272.9
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#291CB0
secondary
#C1CA5E
accent
#EF39DF
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #291CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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