#291E9D#291E9D

#291E9D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.191 H 274.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#291E9D
RGBrgb(41, 30, 157)
HSLhsl(245, 68%, 37%)
HSVhsv(245, 81%, 62%)
CMYKcmyk(73.9%, 80.9%, 0%, 38.4%)
CIE-LABlab(23.11, 45.51, -65.86)
CIE-LCHlch(23.11, 80.06, 304.64°)
OKLaboklab(35.72% 0.0153 -0.1905)
OKLCHoklch(35.72% 0.191 274.6)
XYZxyz(7.4625, 3.8335, 32.2384)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E9D #929D1E
analogous
#1E539D #291E9D #691E9D
triadic
#291E9D #9D291E #1E9D29
tetradic
#291E9D #9D1E53 #929D1E #1E9D69
square
#291E9D #9D1E53 #929D1E #1E9D69
split-complementary
#291E9D #9D691E #539D1E
monochromatic
#0E0A36 #1C146A #291E9D #3628D0 #6257DF

Accessibility & contrast

On white

11.89
#291E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291E9D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E9D#FFFFFF#000000##FFFFFF
##291E9D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #291e9d;
/* rgb */ color: rgb(41, 30, 157);
/* oklch */ color: oklch(35.7% 0.191 274.6);
Tailwind
colors: {
  custom: {
    50: '#775dbb',
    500: '#291e9d',
    950: '#000000',
  },
}
SCSS
$custom: #291e9d;
$custom-light: #775dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#291e9d",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 245.197,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.1911,
    "h": 274.6
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#291E9D
secondary
#B9C254
accent
#EB3DDC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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