#291F5E#291F5E

#291F5E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.107 H 284.9°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#291F5E
RGBrgb(41, 31, 94)
HSLhsl(250, 50%, 25%)
HSVhsv(250, 67%, 37%)
CMYKcmyk(56.4%, 67%, 0%, 63.1%)
CIE-LABlab(16.79, 23.79, -36.16)
CIE-LCHlch(16.79, 43.28, 303.33°)
OKLaboklab(29.27% 0.0276 -0.1037)
OKLCHoklch(29.27% 0.107 284.9)
XYZxyz(3.4242, 2.2594, 10.8432)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F5E #545E1F
analogous
#1F355E #291F5E #491F5E
triadic
#291F5E #5E291F #1F5E29
tetradic
#291F5E #5E1F35 #545E1F #1F5E49
square
#291F5E #5E1F35 #545E1F #1F5E49
split-complementary
#291F5E #5E491F #355E1F
monochromatic
#0A0817 #151030 #291F5E #3D2E8C #513DBA

Accessibility & contrast

On white

14.46
#291F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#291F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F5E
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F5E#FFFFFF#000000##FFFFFF
##291F5E1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#142E3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291f5e;
/* rgb */ color: rgb(41, 31, 94);
/* oklch */ color: oklch(29.3% 0.107 284.9);
Tailwind
colors: {
  custom: {
    50: '#685b8c',
    500: '#291f5e',
    950: '#000000',
  },
}
SCSS
$custom: #291f5e;
$custom-light: #685b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#291f5e",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 249.524,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29271,
    "c": 0.10732,
    "h": 284.9
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#291F5E
secondary
#879346
accent
#DA4EC4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #291F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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