#291994#291994

#291994 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.184 H 276.2°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#291994
RGBrgb(41, 25, 148)
HSLhsl(248, 71%, 34%)
HSVhsv(248, 83%, 58%)
CMYKcmyk(72.3%, 83.1%, 0%, 42%)
CIE-LABlab(21.22, 45.13, -63.46)
CIE-LCHlch(21.22, 77.87, 305.42°)
OKLaboklab(34.1% 0.0198 -0.1834)
OKLCHoklch(34.1% 0.184 276.2)
XYZxyz(6.6056, 3.3042, 28.3009)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291994 #849419
analogous
#194794 #291994 #671994
triadic
#291994 #942919 #199429
tetradic
#291994 #941947 #849419 #199467
square
#291994 #941947 #849419 #199467
split-complementary
#291994 #946719 #479419
monochromatic
#0C072B #1A1060 #291994 #3822C8 #5B47E0

Accessibility & contrast

On white

12.64
#291994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#291994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291994
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291994#FFFFFF#000000##FFFFFF
##2919941.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291994;
/* rgb */ color: rgb(41, 25, 148);
/* oklch */ color: oklch(34.1% 0.184 276.2);
Tailwind
colors: {
  custom: {
    50: '#755ab5',
    500: '#291994',
    950: '#000000',
  },
}
SCSS
$custom: #291994;
$custom-light: #755ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#291994",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 247.805,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34104,
    "c": 0.18448,
    "h": 276.2
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291994

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

Preview Lab → · Contrast checker → · Palette generator →

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