#291C6E#291C6E

#291C6E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.134 H 282.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#291C6E
RGBrgb(41, 28, 110)
HSLhsl(250, 59%, 27%)
HSVhsv(250, 75%, 43%)
CMYKcmyk(62.7%, 74.5%, 0%, 56.9%)
CIE-LABlab(17.59, 31.20, -45.38)
CIE-LCHlch(17.59, 55.07, 304.51°)
OKLaboklab(30.31% 0.0281 -0.1308)
OKLCHoklch(30.31% 0.134 282.1)
XYZxyz(4.1433, 2.4274, 14.9990)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C6E #616E1C
analogous
#1C386E #291C6E #521C6E
triadic
#291C6E #6E291C #1C6E29
tetradic
#291C6E #6E1C38 #616E1C #1C6E52
square
#291C6E #6E1C38 #616E1C #1C6E52
split-complementary
#291C6E #6E521C #386E1C
monochromatic
#090618 #17103D #291C6E #3B289F #5038CC

Accessibility & contrast

On white

14.14
#291C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C6E
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C6E#FFFFFF#000000##FFFFFF
##291C6E1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291c6e;
/* rgb */ color: rgb(41, 28, 110);
/* oklch */ color: oklch(30.3% 0.134 282.1);
Tailwind
colors: {
  custom: {
    50: '#6c5a98',
    500: '#291c6e',
    950: '#000000',
  },
}
SCSS
$custom: #291c6e;
$custom-light: #6c5a98;
$custom-dark: #000000;
JSON
{
  "hex": "#291c6e",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 249.512,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30307,
    "c": 0.13375,
    "h": 282.1
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#291C6E
secondary
#94A343
accent
#E345CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #291C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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