#291E98#291E98

#291E98 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.185 H 275.2°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#291E98
RGBrgb(41, 30, 152)
HSLhsl(245, 67%, 36%)
HSVhsv(245, 80%, 60%)
CMYKcmyk(73%, 80.3%, 0%, 40.4%)
CIE-LABlab(22.54, 43.92, -63.75)
CIE-LCHlch(22.54, 77.42, 304.56°)
OKLaboklab(35.15% 0.0166 -0.1844)
OKLCHoklch(35.15% 0.185 275.2)
XYZxyz(7.0444, 3.6663, 30.0361)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E98 #8D981E
analogous
#1E5098 #291E98 #661E98
triadic
#291E98 #98291E #1E9829
tetradic
#291E98 #981E50 #8D981E #1E9866
square
#291E98 #981E50 #8D981E #1E9866
split-complementary
#291E98 #98661E #50981E
monochromatic
#0D0A32 #1B1465 #291E98 #3728CB #6053DD

Accessibility & contrast

On white

12.11
#291E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#291E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E98
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E98#FFFFFF#000000##FFFFFF
##291E981.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291e98;
/* rgb */ color: rgb(41, 30, 152);
/* oklch */ color: oklch(35.2% 0.185 275.2);
Tailwind
colors: {
  custom: {
    50: '#755db8',
    500: '#291e98',
    950: '#000000',
  },
}
SCSS
$custom: #291e98;
$custom-light: #755db8;
$custom-dark: #000000;
JSON
{
  "hex": "#291e98",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 245.41,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35152,
    "c": 0.1851,
    "h": 275.2
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#291E98
secondary
#B6C051
accent
#EA3EDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291E98

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

Preview Lab → · Contrast checker → · Palette generator →

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