#291E7A#291E7A

#291E7A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.147 H 279.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#291E7A
RGBrgb(41, 30, 122)
HSLhsl(247, 61%, 30%)
HSVhsv(247, 75%, 48%)
CMYKcmyk(66.4%, 75.4%, 0%, 52.2%)
CIE-LABlab(19.24, 34.06, -50.39)
CIE-LCHlch(19.24, 60.82, 304.05°)
OKLaboklab(31.86% 0.0239 -0.1454)
OKLCHoklch(31.86% 0.147 279.3)
XYZxyz(4.8905, 2.8047, 18.6922)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E7A #6F7A1E
analogous
#1E417A #291E7A #571E7A
triadic
#291E7A #7A291E #1E7A29
tetradic
#291E7A #7A1E41 #6F7A1E #1E7A57
square
#291E7A #7A1E41 #6F7A1E #1E7A57
split-complementary
#291E7A #7A571E #417A1E
monochromatic
#080619 #181249 #291E7A #3A2AAB #5342D0

Accessibility & contrast

On white

13.45
#291E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#291E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E7A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E7A#FFFFFF#000000##FFFFFF
##291E7A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291e7a;
/* rgb */ color: rgb(41, 30, 122);
/* oklch */ color: oklch(31.9% 0.147 279.3);
Tailwind
colors: {
  custom: {
    50: '#6e5ba1',
    500: '#291e7a',
    950: '#000000',
  },
}
SCSS
$custom: #291e7a;
$custom-light: #6e5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#291e7a",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 247.174,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31859,
    "c": 0.14738,
    "h": 279.3
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#291E7A
secondary
#A1AE46
accent
#E444D1
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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