#291D6F#291D6F

#291D6F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.134 H 281.7°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#291D6F
RGBrgb(41, 29, 111)
HSLhsl(249, 59%, 27%)
HSVhsv(249, 74%, 44%)
CMYKcmyk(63.1%, 73.9%, 0%, 56.5%)
CIE-LABlab(17.91, 30.93, -45.51)
CIE-LCHlch(17.91, 55.02, 304.20°)
OKLaboklab(30.57% 0.027 -0.1311)
OKLCHoklch(30.57% 0.134 281.7)
XYZxyz(4.2222, 2.4975, 15.2954)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D6F #636F1D
analogous
#1D3A6F #291D6F #521D6F
triadic
#291D6F #6F291D #1D6F29
tetradic
#291D6F #6F1D3A #636F1D #1D6F52
square
#291D6F #6F1D3A #636F1D #1D6F52
split-complementary
#291D6F #6F521D #3A6F1D
monochromatic
#090618 #17103E #291D6F #3B2AA0 #503BCC

Accessibility & contrast

On white

14.00
#291D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#291D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D6F
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D6F#FFFFFF#000000##FFFFFF
##291D6F1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291d6f;
/* rgb */ color: rgb(41, 29, 111);
/* oklch */ color: oklch(30.6% 0.134 281.7);
Tailwind
colors: {
  custom: {
    50: '#6c5a99',
    500: '#291d6f',
    950: '#000000',
  },
}
SCSS
$custom: #291d6f;
$custom-light: #6c5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#291d6f",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 248.78,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30567,
    "c": 0.1339,
    "h": 281.7
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#291D6F
secondary
#96A344
accent
#E246CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #291D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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