#291C70#291C70

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

Color values

HEX#291C70
RGBrgb(41, 28, 112)
HSLhsl(249, 60%, 27%)
HSVhsv(249, 75%, 44%)
CMYKcmyk(63.4%, 75%, 0%, 56.1%)
CIE-LABlab(17.79, 31.87, -46.35)
CIE-LCHlch(17.79, 56.25, 304.51°)
OKLaboklab(30.51% 0.0277 -0.1336)
OKLCHoklch(30.51% 0.136 281.7)
XYZxyz(4.2534, 2.4715, 15.5790)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C70 #63701C
analogous
#1C3970 #291C70 #531C70
triadic
#291C70 #70291C #1C7029
tetradic
#291C70 #701C39 #63701C #1C7053
square
#291C70 #701C39 #63701C #1C7053
split-complementary
#291C70 #70531C #39701C
monochromatic
#090618 #17103F #291C70 #3B28A1 #5039CD

Accessibility & contrast

On white

14.05
#291C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C70
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C70#FFFFFF#000000##FFFFFF
##291C701.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291c70;
/* rgb */ color: rgb(41, 28, 112);
/* oklch */ color: oklch(30.5% 0.136 281.7);
Tailwind
colors: {
  custom: {
    50: '#6c5a9a',
    500: '#291c70',
    950: '#000000',
  },
}
SCSS
$custom: #291c70;
$custom-light: #6c5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#291c70",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 249.286,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.13643,
    "h": 281.7
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#291C70
secondary
#96A543
accent
#E345CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #291C70

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

Preview Lab → · Contrast checker → · Palette generator →

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