#291883#291883

#291883 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.165 H 278.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#291883
RGBrgb(41, 24, 131)
HSLhsl(250, 69%, 30%)
HSVhsv(250, 82%, 51%)
CMYKcmyk(68.7%, 81.7%, 0%, 48.6%)
CIE-LABlab(19.07, 40.30, -56.40)
CIE-LCHlch(19.07, 69.32, 305.55°)
OKLaboklab(32.03% 0.0253 -0.1629)
OKLCHoklch(32.03% 0.165 278.8)
XYZxyz(5.3365, 2.7629, 21.7204)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291883 #728318
analogous
#183C83 #291883 #5E1883
triadic
#291883 #832918 #188329
tetradic
#291883 #83183C #728318 #18835E
square
#291883 #83183C #728318 #18835E
split-complementary
#291883 #835E18 #3C8318
monochromatic
#09051C #190F4F #291883 #3921B7 #543ADB

Accessibility & contrast

On white

13.53
#291883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291883
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291883#FFFFFF#000000##FFFFFF
##2918831.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291883;
/* rgb */ color: rgb(41, 24, 131);
/* oklch */ color: oklch(32.0% 0.165 278.8);
Tailwind
colors: {
  custom: {
    50: '#7158a8',
    500: '#291883',
    950: '#000000',
  },
}
SCSS
$custom: #291883;
$custom-light: #7158a8;
$custom-dark: #000000;
JSON
{
  "hex": "#291883",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 249.533,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32028,
    "c": 0.16483,
    "h": 278.8
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291883

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

Preview Lab → · Contrast checker → · Palette generator →

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