#291882#291882

#291882 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.164 H 279.0°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#291882
RGBrgb(41, 24, 130)
HSLhsl(250, 69%, 30%)
HSVhsv(250, 82%, 51%)
CMYKcmyk(68.5%, 81.5%, 0%, 49%)
CIE-LABlab(18.95, 39.99, -55.95)
CIE-LCHlch(18.95, 68.77, 305.55°)
OKLaboklab(31.92% 0.0256 -0.1616)
OKLCHoklch(31.92% 0.164 279)
XYZxyz(5.2691, 2.7360, 21.3652)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291882 #718218
analogous
#183C82 #291882 #5E1882
triadic
#291882 #822918 #188229
tetradic
#291882 #82183C #718218 #18825E
square
#291882 #82183C #718218 #18825E
split-complementary
#291882 #825E18 #3C8218
monochromatic
#08051B #190E4E #291882 #3922B6 #543ADB

Accessibility & contrast

On white

13.57
#291882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291882
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291882#FFFFFF#000000##FFFFFF
##2918821.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291882;
/* rgb */ color: rgb(41, 24, 130);
/* oklch */ color: oklch(31.9% 0.164 279.0);
Tailwind
colors: {
  custom: {
    50: '#7158a7',
    500: '#291882',
    950: '#000000',
  },
}
SCSS
$custom: #291882;
$custom-light: #7158a7;
$custom-dark: #000000;
JSON
{
  "hex": "#291882",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 249.623,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31915,
    "c": 0.16361,
    "h": 279
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#291882
secondary
#A3B640
accent
#EC3CD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #291882

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

Preview Lab → · Contrast checker → · Palette generator →

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