#291E9F#291E9F

#291E9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.193 H 274.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#291E9F
RGBrgb(41, 30, 159)
HSLhsl(245, 68%, 37%)
HSVhsv(245, 81%, 62%)
CMYKcmyk(74.2%, 81.1%, 0%, 37.6%)
CIE-LABlab(23.35, 46.14, -66.70)
CIE-LCHlch(23.35, 81.10, 304.67°)
OKLaboklab(35.95% 0.0148 -0.1929)
OKLCHoklch(35.95% 0.193 274.4)
XYZxyz(7.6347, 3.9024, 33.1450)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E9F #949F1E
analogous
#1E549F #291E9F #691E9F
triadic
#291E9F #9F291E #1E9F29
tetradic
#291E9F #9F1E54 #949F1E #1E9F69
square
#291E9F #9F1E54 #949F1E #1E9F69
split-complementary
#291E9F #9F691E #549F1E
monochromatic
#0E0B38 #1C146C #291E9F #3628D2 #6358DF

Accessibility & contrast

On white

11.79
#291E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#291E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E9F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E9F#FFFFFF#000000##FFFFFF
##291E9F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #291e9f;
/* rgb */ color: rgb(41, 30, 159);
/* oklch */ color: oklch(36.0% 0.193 274.4);
Tailwind
colors: {
  custom: {
    50: '#775ebd',
    500: '#291e9f',
    950: '#000000',
  },
}
SCSS
$custom: #291e9f;
$custom-light: #775ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#291e9f",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 245.116,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35953,
    "c": 0.19348,
    "h": 274.4
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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