#291EAC#291EAC

#291EAC is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.209 H 273.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#291EAC
RGBrgb(41, 30, 172)
HSLhsl(245, 70%, 40%)
HSVhsv(245, 83%, 67%)
CMYKcmyk(76.2%, 82.6%, 0%, 32.5%)
CIE-LABlab(24.88, 50.17, -72.03)
CIE-LCHlch(24.88, 87.79, 304.86°)
OKLaboklab(37.46% 0.0114 -0.2084)
OKLCHoklch(37.46% 0.209 273.1)
XYZxyz(8.8226, 4.3776, 39.4017)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291EAC #A1AC1E
analogous
#1E5AAC #291EAC #701EAC
triadic
#291EAC #AC291E #1EAC29
tetradic
#291EAC #AC1E5A #A1AC1E #1EAC70
square
#291EAC #AC1E5A #A1AC1E #1EAC70
split-complementary
#291EAC #AC701E #5AAC1E
monochromatic
#100C44 #1D1578 #291EAC #3A2DDA #6B61E3

Accessibility & contrast

On white

11.20
#291EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#291EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291EAC
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291EAC#FFFFFF#000000##FFFFFF
##291EAC1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0034AA
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #291eac;
/* rgb */ color: rgb(41, 30, 172);
/* oklch */ color: oklch(37.5% 0.209 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a5fc6',
    500: '#291eac',
    950: '#000000',
  },
}
SCSS
$custom: #291eac;
$custom-light: #7a5fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#291eac",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 244.648,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.20868,
    "h": 273.1
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#291EAC
secondary
#C0C85E
accent
#ED3BDF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #291EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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