#291980#291980

#291980 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.160 H 279.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#291980
RGBrgb(41, 25, 128)
HSLhsl(249, 67%, 30%)
HSVhsv(249, 80%, 50%)
CMYKcmyk(68%, 80.5%, 0%, 49.8%)
CIE-LABlab(18.91, 38.83, -54.77)
CIE-LCHlch(18.91, 67.14, 305.34°)
OKLaboklab(31.82% 0.0257 -0.1582)
OKLCHoklch(31.82% 0.16 279.2)
XYZxyz(5.1571, 2.7248, 20.6721)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291980 #708019
analogous
#193D80 #291980 #5C1980
triadic
#291980 #802919 #198029
tetradic
#291980 #80193D #708019 #19805C
square
#291980 #80193D #708019 #19805C
split-complementary
#291980 #805C19 #3D8019
monochromatic
#08051A #190F4D #291980 #3923B3 #533BD9

Accessibility & contrast

On white

13.59
#291980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#291980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291980
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291980#FFFFFF#000000##FFFFFF
##2919801.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291980;
/* rgb */ color: rgb(41, 25, 128);
/* oklch */ color: oklch(31.8% 0.160 279.2);
Tailwind
colors: {
  custom: {
    50: '#7059a6',
    500: '#291980',
    950: '#000000',
  },
}
SCSS
$custom: #291980;
$custom-light: #7059a6;
$custom-dark: #000000;
JSON
{
  "hex": "#291980",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 249.32,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.31815,
    "c": 0.16022,
    "h": 279.2
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#291980
secondary
#A2B441
accent
#EA3ECF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #291980

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

Preview Lab → · Contrast checker → · Palette generator →

#291980 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva