#291E8E#291E8E

#291E8E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.173 H 276.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#291E8E
RGBrgb(41, 30, 142)
HSLhsl(246, 65%, 34%)
HSVhsv(246, 79%, 56%)
CMYKcmyk(71.1%, 78.9%, 0%, 44.3%)
CIE-LABlab(21.40, 40.70, -59.44)
CIE-LCHlch(21.40, 72.03, 304.40°)
OKLaboklab(34.03% 0.0192 -0.1718)
OKLCHoklch(34.03% 0.173 276.4)
XYZxyz(6.2596, 3.3524, 25.9031)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E8E #838E1E
analogous
#1E4B8E #291E8E #611E8E
triadic
#291E8E #8E291E #1E8E29
tetradic
#291E8E #8E1E4B #838E1E #1E8E61
square
#291E8E #8E1E4B #838E1E #1E8E61
split-complementary
#291E8E #8E611E #4B8E1E
monochromatic
#0C0929 #1A135B #291E8E #3829C1 #5B4DD9

Accessibility & contrast

On white

12.57
#291E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#291E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E8E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E8E#FFFFFF#000000##FFFFFF
##291E8E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291e8e;
/* rgb */ color: rgb(41, 30, 142);
/* oklch */ color: oklch(34.0% 0.173 276.4);
Tailwind
colors: {
  custom: {
    50: '#735cb0',
    500: '#291e8e',
    950: '#000000',
  },
}
SCSS
$custom: #291e8e;
$custom-light: #735cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#291e8e",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 245.893,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34027,
    "c": 0.17287,
    "h": 276.4
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#291E8E
secondary
#B1BC4C
accent
#E840D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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