#291E9E#291E9E

#291E9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.192 H 274.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#291E9E
RGBrgb(41, 30, 158)
HSLhsl(245, 68%, 37%)
HSVhsv(245, 81%, 62%)
CMYKcmyk(74.1%, 81%, 0%, 38%)
CIE-LABlab(23.23, 45.82, -66.28)
CIE-LCHlch(23.23, 80.58, 304.66°)
OKLaboklab(35.84% 0.0151 -0.1917)
OKLCHoklch(35.84% 0.192 274.5)
XYZxyz(7.5482, 3.8678, 32.6899)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E9E #939E1E
analogous
#1E539E #291E9E #691E9E
triadic
#291E9E #9E291E #1E9E29
tetradic
#291E9E #9E1E53 #939E1E #1E9E69
square
#291E9E #9E1E53 #939E1E #1E9E69
split-complementary
#291E9E #9E691E #539E1E
monochromatic
#0E0A37 #1C146B #291E9E #3628D1 #6357DF

Accessibility & contrast

On white

11.84
#291E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#291E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E9E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E9E#FFFFFF#000000##FFFFFF
##291E9E1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #291e9e;
/* rgb */ color: rgb(41, 30, 158);
/* oklch */ color: oklch(35.8% 0.192 274.5);
Tailwind
colors: {
  custom: {
    50: '#775ebc',
    500: '#291e9e',
    950: '#000000',
  },
}
SCSS
$custom: #291e9e;
$custom-light: #775ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#291e9e",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 245.156,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35838,
    "c": 0.19229,
    "h": 274.5
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#291E9E
secondary
#B9C355
accent
#EB3DDC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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