#291E7F#291E7F

#291E7F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.154 H 278.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#291E7F
RGBrgb(41, 30, 127)
HSLhsl(247, 62%, 31%)
HSVhsv(247, 76%, 50%)
CMYKcmyk(67.7%, 76.4%, 0%, 50.2%)
CIE-LABlab(19.77, 35.74, -52.71)
CIE-LCHlch(19.77, 63.68, 304.14°)
OKLaboklab(32.39% 0.0228 -0.1522)
OKLCHoklch(32.39% 0.154 278.5)
XYZxyz(5.2083, 2.9318, 20.3660)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E7F #747F1E
analogous
#1E437F #291E7F #591E7F
triadic
#291E7F #7F291E #1E7F29
tetradic
#291E7F #7F1E43 #747F1E #1E7F59
square
#291E7F #7F1E43 #747F1E #1E7F59
split-complementary
#291E7F #7F591E #437F1E
monochromatic
#09071C #19124D #291E7F #392AB1 #5544D3

Accessibility & contrast

On white

13.24
#291E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#291E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E7F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E7F#FFFFFF#000000##FFFFFF
##291E7F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291e7f;
/* rgb */ color: rgb(41, 30, 127);
/* oklch */ color: oklch(32.4% 0.154 278.5);
Tailwind
colors: {
  custom: {
    50: '#705ca5',
    500: '#291e7f',
    950: '#000000',
  },
}
SCSS
$custom: #291e7f;
$custom-light: #705ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#291e7f",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 246.804,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32389,
    "c": 0.1539,
    "h": 278.5
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#291E7F
secondary
#A6B247
accent
#E543D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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