#291992#291992

#291992 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.182 H 276.4°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#291992
RGBrgb(41, 25, 146)
HSLhsl(248, 71%, 34%)
HSVhsv(248, 83%, 57%)
CMYKcmyk(71.9%, 82.9%, 0%, 42.7%)
CIE-LABlab(20.99, 44.51, -62.61)
CIE-LCHlch(20.99, 76.82, 305.41°)
OKLaboklab(33.87% 0.0204 -0.181)
OKLCHoklch(33.87% 0.182 276.4)
XYZxyz(6.4487, 3.2414, 27.4744)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291992 #829219
analogous
#194592 #291992 #651992
triadic
#291992 #922919 #199229
tetradic
#291992 #921945 #829219 #199265
square
#291992 #921945 #829219 #199265
split-complementary
#291992 #926519 #459219
monochromatic
#0C0729 #1A105E #291992 #3822C6 #5A46DF

Accessibility & contrast

On white

12.74
#291992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#291992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291992
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291992#FFFFFF#000000##FFFFFF
##2919921.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003795
Deuteranopia (green-blind)
#002D90
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291992;
/* rgb */ color: rgb(41, 25, 146);
/* oklch */ color: oklch(33.9% 0.182 276.4);
Tailwind
colors: {
  custom: {
    50: '#745ab3',
    500: '#291992',
    950: '#000000',
  },
}
SCSS
$custom: #291992;
$custom-light: #745ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#291992",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 247.934,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33871,
    "c": 0.1821,
    "h": 276.4
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#291992
secondary
#B0C146
accent
#EE3AD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291992

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

Preview Lab → · Contrast checker → · Palette generator →

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