#291A7A#291A7A

#291A7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.152 H 280.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#291A7A
RGBrgb(41, 26, 122)
HSLhsl(249, 65%, 29%)
HSVhsv(249, 79%, 48%)
CMYKcmyk(66.4%, 78.7%, 0%, 52.2%)
CIE-LABlab(18.43, 36.35, -51.73)
CIE-LCHlch(18.43, 63.22, 305.10°)
OKLaboklab(31.28% 0.0267 -0.1493)
OKLCHoklch(31.28% 0.152 280.1)
XYZxyz(4.7956, 2.6150, 18.6606)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A7A #6B7A1A
analogous
#1A3B7A #291A7A #591A7A
triadic
#291A7A #7A291A #1A7A29
tetradic
#291A7A #7A1A3B #6B7A1A #1A7A59
square
#291A7A #7A1A3B #6B7A1A #1A7A59
split-complementary
#291A7A #7A591A #3B7A1A
monochromatic
#080519 #180F48 #291A7A #3A25AC #5239D5

Accessibility & contrast

On white

13.79
#291A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A7A
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A7A#FFFFFF#000000##FFFFFF
##291A7A1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291a7a;
/* rgb */ color: rgb(41, 26, 122);
/* oklch */ color: oklch(31.3% 0.152 280.1);
Tailwind
colors: {
  custom: {
    50: '#6f59a1',
    500: '#291a7a',
    950: '#000000',
  },
}
SCSS
$custom: #291a7a;
$custom-light: #6f59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#291a7a",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 249.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31284,
    "c": 0.15168,
    "h": 280.1
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#291A7A
secondary
#9DAE41
accent
#E840CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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