#291E64#291E64

#291E64 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.6% C 0.117 H 283.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#291E64
RGBrgb(41, 30, 100)
HSLhsl(249, 54%, 25%)
HSVhsv(249, 70%, 39%)
CMYKcmyk(59%, 70%, 0%, 60.8%)
CIE-LABlab(17.08, 26.52, -39.66)
CIE-LCHlch(17.08, 47.71, 303.77°)
OKLaboklab(29.65% 0.028 -0.114)
OKLCHoklch(29.65% 0.117 283.8)
XYZxyz(3.6783, 2.3198, 12.3081)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E64 #59641E
analogous
#1E3664 #291E64 #4C1E64
triadic
#291E64 #64291E #1E6429
tetradic
#291E64 #641E36 #59641E #1E644C
square
#291E64 #641E36 #59641E #1E644C
split-complementary
#291E64 #644C1E #36641E
monochromatic
#0A0718 #161035 #291E64 #3C2C93 #503AC2

Accessibility & contrast

On white

14.34
#291E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#291E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E64
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E64#FFFFFF#000000##FFFFFF
##291E641.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#0D303E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291e64;
/* rgb */ color: rgb(41, 30, 100);
/* oklch */ color: oklch(29.6% 0.117 283.8);
Tailwind
colors: {
  custom: {
    50: '#6a5a91',
    500: '#291e64',
    950: '#000000',
  },
}
SCSS
$custom: #291e64;
$custom-light: #6a5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#291e64",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 100
  },
  "hsl": {
    "h": 249.429,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2965,
    "c": 0.11738,
    "h": 283.8
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#291E64
secondary
#8C9945
accent
#DD4BC6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291E64

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

Preview Lab → · Contrast checker → · Palette generator →

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