#291F68#291F68

#291F68 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.122 H 282.5°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#291F68
RGBrgb(41, 31, 104)
HSLhsl(248, 54%, 26%)
HSVhsv(248, 70%, 41%)
CMYKcmyk(60.6%, 70.2%, 0%, 59.2%)
CIE-LABlab(17.69, 27.26, -41.29)
CIE-LCHlch(17.69, 49.48, 303.43°)
OKLaboklab(30.21% 0.0264 -0.1188)
OKLCHoklch(30.21% 0.122 282.5)
XYZxyz(3.9024, 2.4506, 13.3614)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F68 #5E681F
analogous
#1F3A68 #291F68 #4E1F68
triadic
#291F68 #68291F #1F6829
tetradic
#291F68 #681F3A #5E681F #1F684E
square
#291F68 #681F3A #5E681F #1F684E
split-complementary
#291F68 #684E1F #3A681F
monochromatic
#090718 #161139 #291F68 #3C2D97 #4F3CC5

Accessibility & contrast

On white

14.09
#291F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#291F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F68
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F68#FFFFFF#000000##FFFFFF
##291F681.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#073240
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291f68;
/* rgb */ color: rgb(41, 31, 104);
/* oklch */ color: oklch(30.2% 0.122 282.5);
Tailwind
colors: {
  custom: {
    50: '#6a5b94',
    500: '#291f68',
    950: '#000000',
  },
}
SCSS
$custom: #291f68;
$custom-light: #6a5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#291f68",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 248.219,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30205,
    "c": 0.12169,
    "h": 282.5
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#291F68
secondary
#919C46
accent
#DD4AC9
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291F68

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

Preview Lab → · Contrast checker → · Palette generator →

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