#291880#291880

#291880 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.161 H 279.4°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#291880
RGBrgb(41, 24, 128)
HSLhsl(250, 68%, 30%)
HSVhsv(250, 81%, 50%)
CMYKcmyk(68%, 81.3%, 0%, 49.8%)
CIE-LABlab(18.73, 39.35, -55.06)
CIE-LCHlch(18.73, 67.68, 305.55°)
OKLaboklab(31.69% 0.0262 -0.159)
OKLCHoklch(31.69% 0.161 279.4)
XYZxyz(5.1361, 2.6828, 20.6651)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291880 #6F8018
analogous
#183B80 #291880 #5D1880
triadic
#291880 #802918 #188029
tetradic
#291880 #80183B #6F8018 #18805D
square
#291880 #80183B #6F8018 #18805D
split-complementary
#291880 #805D18 #3B8018
monochromatic
#08051A #180E4C #291880 #3A22B4 #5339DA

Accessibility & contrast

On white

13.67
#291880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#291880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291880
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291880#FFFFFF#000000##FFFFFF
##2918801.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291880;
/* rgb */ color: rgb(41, 24, 128);
/* oklch */ color: oklch(31.7% 0.161 279.4);
Tailwind
colors: {
  custom: {
    50: '#7058a6',
    500: '#291880',
    950: '#000000',
  },
}
SCSS
$custom: #291880;
$custom-light: #7058a6;
$custom-dark: #000000;
JSON
{
  "hex": "#291880",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 249.808,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31689,
    "c": 0.16115,
    "h": 279.4
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#291880
secondary
#A1B440
accent
#EB3DCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #291880

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

Preview Lab → · Contrast checker → · Palette generator →

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