#291E67#291E67

#291E67 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.122 H 283.1°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#291E67
RGBrgb(41, 30, 103)
HSLhsl(249, 55%, 26%)
HSVhsv(249, 71%, 40%)
CMYKcmyk(60.2%, 70.9%, 0%, 59.6%)
CIE-LABlab(17.36, 27.56, -41.18)
CIE-LCHlch(17.36, 49.55, 303.79°)
OKLaboklab(29.94% 0.0275 -0.1185)
OKLCHoklch(29.94% 0.122 283.1)
XYZxyz(3.8262, 2.3790, 13.0869)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E67 #5C671E
analogous
#1E3767 #291E67 #4D1E67
triadic
#291E67 #67291E #1E6729
tetradic
#291E67 #671E37 #5C671E #1E674D
square
#291E67 #671E37 #5C671E #1E674D
split-complementary
#291E67 #674D1E #37671E
monochromatic
#090718 #161038 #291E67 #3C2C96 #4F3AC6

Accessibility & contrast

On white

14.23
#291E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#291E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E67
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E67#FFFFFF#000000##FFFFFF
##291E671.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#09313F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291e67;
/* rgb */ color: rgb(41, 30, 103);
/* oklch */ color: oklch(29.9% 0.122 283.1);
Tailwind
colors: {
  custom: {
    50: '#6a5b93',
    500: '#291e67',
    950: '#000000',
  },
}
SCSS
$custom: #291e67;
$custom-light: #6a5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#291e67",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 249.041,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29937,
    "c": 0.12162,
    "h": 283.1
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#291E67
secondary
#8F9C45
accent
#DE4AC8
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291E67

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

Preview Lab → · Contrast checker → · Palette generator →

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