#291E7B#291E7B

#291E7B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.149 H 279.2°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#291E7B
RGBrgb(41, 30, 123)
HSLhsl(247, 61%, 30%)
HSVhsv(247, 76%, 48%)
CMYKcmyk(66.7%, 75.6%, 0%, 51.8%)
CIE-LABlab(19.35, 34.39, -50.86)
CIE-LCHlch(19.35, 61.39, 304.07°)
OKLaboklab(31.96% 0.0237 -0.1468)
OKLCHoklch(31.96% 0.149 279.2)
XYZxyz(4.9527, 2.8296, 19.0202)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E7B #707B1E
analogous
#1E417B #291E7B #581E7B
triadic
#291E7B #7B291E #1E7B29
tetradic
#291E7B #7B1E41 #707B1E #1E7B58
square
#291E7B #7B1E41 #707B1E #1E7B58
split-complementary
#291E7B #7B581E #417B1E
monochromatic
#080619 #19124A #291E7B #392AAC #5342D1

Accessibility & contrast

On white

13.41
#291E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#291E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E7B
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E7B#FFFFFF#000000##FFFFFF
##291E7B1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291e7b;
/* rgb */ color: rgb(41, 30, 123);
/* oklch */ color: oklch(32.0% 0.149 279.2);
Tailwind
colors: {
  custom: {
    50: '#6f5ba2',
    500: '#291e7b',
    950: '#000000',
  },
}
SCSS
$custom: #291e7b;
$custom-light: #6f5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#291e7b",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 247.097,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.31964,
    "c": 0.14869,
    "h": 279.2
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#291E7B
secondary
#A2AE46
accent
#E444D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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