#291B75#291B75

#291B75 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.144 H 280.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#291B75
RGBrgb(41, 27, 117)
HSLhsl(249, 63%, 28%)
HSVhsv(249, 77%, 46%)
CMYKcmyk(65%, 76.9%, 0%, 54.1%)
CIE-LABlab(18.10, 34.14, -49.07)
CIE-LCHlch(18.10, 59.78, 304.82°)
OKLaboklab(30.89% 0.0273 -0.1416)
OKLCHoklch(30.89% 0.144 280.9)
XYZxyz(4.5163, 2.5393, 17.0783)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B75 #67751B
analogous
#1B3A75 #291B75 #561B75
triadic
#291B75 #75291B #1B7529
tetradic
#291B75 #751B3A #67751B #1B7556
square
#291B75 #751B3A #67751B #1B7556
split-complementary
#291B75 #75561B #3A751B
monochromatic
#090619 #181043 #291B75 #3A26A7 #5139D1

Accessibility & contrast

On white

13.93
#291B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#291B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B75
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B75#FFFFFF#000000##FFFFFF
##291B751.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291b75;
/* rgb */ color: rgb(41, 27, 117);
/* oklch */ color: oklch(30.9% 0.144 280.9);
Tailwind
colors: {
  custom: {
    50: '#6e599e',
    500: '#291b75',
    950: '#000000',
  },
}
SCSS
$custom: #291b75;
$custom-light: #6e599e;
$custom-dark: #000000;
JSON
{
  "hex": "#291b75",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 249.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30887,
    "c": 0.14416,
    "h": 280.9
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#291B75
secondary
#99A942
accent
#E642CC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291B75

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

Preview Lab → · Contrast checker → · Palette generator →

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