#291D6E#291D6E

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

Color values

HEX#291D6E
RGBrgb(41, 29, 110)
HSLhsl(249, 58%, 27%)
HSVhsv(249, 74%, 43%)
CMYKcmyk(62.7%, 73.6%, 0%, 56.9%)
CIE-LABlab(17.81, 30.59, -45.02)
CIE-LCHlch(17.81, 54.43, 304.19°)
OKLaboklab(30.46% 0.0272 -0.1297)
OKLCHoklch(30.46% 0.133 281.9)
XYZxyz(4.1674, 2.4756, 15.0071)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D6E #626E1D
analogous
#1D3A6E #291D6E #521D6E
triadic
#291D6E #6E291D #1D6E29
tetradic
#291D6E #6E1D3A #626E1D #1D6E52
square
#291D6E #6E1D3A #626E1D #1D6E52
split-complementary
#291D6E #6E521D #3A6E1D
monochromatic
#090618 #17103E #291D6E #3B2A9E #503ACB

Accessibility & contrast

On white

14.04
#291D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#291D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D6E
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D6E#FFFFFF#000000##FFFFFF
##291D6E1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291d6e;
/* rgb */ color: rgb(41, 29, 110);
/* oklch */ color: oklch(30.5% 0.133 281.9);
Tailwind
colors: {
  custom: {
    50: '#6c5a98',
    500: '#291d6e',
    950: '#000000',
  },
}
SCSS
$custom: #291d6e;
$custom-light: #6c5a98;
$custom-dark: #000000;
JSON
{
  "hex": "#291d6e",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 248.889,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30465,
    "c": 0.13254,
    "h": 281.9
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#291D6E
secondary
#95A244
accent
#E146CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #291D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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