#291F65#291F65

#291F65 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.9% C 0.117 H 283.2°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#291F65
RGBrgb(41, 31, 101)
HSLhsl(249, 53%, 26%)
HSVhsv(249, 69%, 40%)
CMYKcmyk(59.4%, 69.3%, 0%, 60.4%)
CIE-LABlab(17.42, 26.22, -39.78)
CIE-LCHlch(17.42, 47.64, 303.39°)
OKLaboklab(29.92% 0.0268 -0.1143)
OKLCHoklch(29.92% 0.117 283.2)
XYZxyz(3.7527, 2.3907, 12.5731)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F65 #5B651F
analogous
#1F3865 #291F65 #4C1F65
triadic
#291F65 #65291F #1F6529
tetradic
#291F65 #651F38 #5B651F #1F654C
square
#291F65 #651F38 #5B651F #1F654C
split-complementary
#291F65 #654C1F #38651F
monochromatic
#0A0717 #161136 #291F65 #3C2D94 #4F3CC3

Accessibility & contrast

On white

14.21
#291F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291F65
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F65#FFFFFF#000000##FFFFFF
##291F651.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#0C313F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291f65;
/* rgb */ color: rgb(41, 31, 101);
/* oklch */ color: oklch(29.9% 0.117 283.2);
Tailwind
colors: {
  custom: {
    50: '#6a5b92',
    500: '#291f65',
    950: '#000000',
  },
}
SCSS
$custom: #291f65;
$custom-light: #6a5b92;
$custom-dark: #000000;
JSON
{
  "hex": "#291f65",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 248.571,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29919,
    "c": 0.11744,
    "h": 283.2
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#291F65
secondary
#8E9946
accent
#DC4BC8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291F65

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

Preview Lab → · Contrast checker → · Palette generator →

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