#291D74#291D74

#291D74 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.141 H 280.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#291D74
RGBrgb(41, 29, 116)
HSLhsl(248, 60%, 28%)
HSVhsv(248, 75%, 45%)
CMYKcmyk(64.7%, 75%, 0%, 54.5%)
CIE-LABlab(18.41, 32.62, -47.91)
CIE-LCHlch(18.41, 57.96, 304.25°)
OKLaboklab(31.08% 0.026 -0.1382)
OKLCHoklch(31.08% 0.141 280.7)
XYZxyz(4.5052, 2.6108, 16.7861)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D74 #68741D
analogous
#1D3C74 #291D74 #541D74
triadic
#291D74 #74291D #1D7429
tetradic
#291D74 #741D3C #68741D #1D7454
square
#291D74 #741D3C #68741D #1D7454
split-complementary
#291D74 #74541D #3C741D
monochromatic
#090618 #181143 #291D74 #3A29A5 #513DCE

Accessibility & contrast

On white

13.80
#291D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#291D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D74
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D74#FFFFFF#000000##FFFFFF
##291D741.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291d74;
/* rgb */ color: rgb(41, 29, 116);
/* oklch */ color: oklch(31.1% 0.141 280.7);
Tailwind
colors: {
  custom: {
    50: '#6d5a9d',
    500: '#291d74',
    950: '#000000',
  },
}
SCSS
$custom: #291d74;
$custom-light: #6d5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#291d74",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 248.276,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3108,
    "c": 0.14059,
    "h": 280.7
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#291D74
secondary
#9AA845
accent
#E345CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291D74

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

Preview Lab → · Contrast checker → · Palette generator →

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