#291E68#291E68

#291E68 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.123 H 282.9°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#291E68
RGBrgb(41, 30, 104)
HSLhsl(249, 55%, 26%)
HSVhsv(249, 71%, 41%)
CMYKcmyk(60.6%, 71.2%, 0%, 59.2%)
CIE-LABlab(17.46, 27.90, -41.68)
CIE-LCHlch(17.46, 50.16, 303.80°)
OKLaboklab(30.03% 0.0274 -0.1199)
OKLCHoklch(30.03% 0.123 282.9)
XYZxyz(3.8766, 2.3992, 13.3528)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E68 #5D681E
analogous
#1E3868 #291E68 #4E1E68
triadic
#291E68 #68291E #1E6829
tetradic
#291E68 #681E38 #5D681E #1E684E
square
#291E68 #681E38 #5D681E #1E684E
split-complementary
#291E68 #684E1E #38681E
monochromatic
#090718 #161039 #291E68 #3C2C98 #4F3AC6

Accessibility & contrast

On white

14.19
#291E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291E68
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E68#FFFFFF#000000##FFFFFF
##291E681.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#073140
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291e68;
/* rgb */ color: rgb(41, 30, 104);
/* oklch */ color: oklch(30.0% 0.123 282.9);
Tailwind
colors: {
  custom: {
    50: '#6b5b94',
    500: '#291e68',
    950: '#000000',
  },
}
SCSS
$custom: #291e68;
$custom-light: #6b5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#291e68",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 248.919,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30034,
    "c": 0.12302,
    "h": 282.9
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#291E68
secondary
#909D45
accent
#DF49C8
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291E68

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

Preview Lab → · Contrast checker → · Palette generator →

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