#292587#292587

#292587 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.157 H 276.0°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#292587
RGBrgb(41, 37, 135)
HSLhsl(242, 57%, 34%)
HSVhsv(242, 73%, 53%)
CMYKcmyk(69.6%, 72.6%, 0%, 47.1%)
CIE-LABlab(22.10, 34.28, -53.92)
CIE-LCHlch(22.10, 63.89, 302.45°)
OKLaboklab(34.3% 0.0165 -0.1557)
OKLCHoklch(34.3% 0.157 276)
XYZxyz(5.9478, 3.5433, 23.2875)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292587 #838725
analogous
#255287 #292587 #5A2587
triadic
#292587 #872925 #258729
tetradic
#292587 #872552 #838725 #25875A
square
#292587 #872552 #838725 #25875A
split-complementary
#292587 #875A25 #528725
monochromatic
#0C0B27 #1A1857 #292587 #3832B7 #5B56D1

Accessibility & contrast

On white

12.29
#292587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#292587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292587
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292587#FFFFFF#000000##FFFFFF
##2925871.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #292587;
/* rgb */ color: rgb(41, 37, 135);
/* oklch */ color: oklch(34.3% 0.157 276.0);
Tailwind
colors: {
  custom: {
    50: '#7160ab',
    500: '#292587',
    950: '#000000',
  },
}
SCSS
$custom: #292587;
$custom-light: #7160ab;
$custom-dark: #000000;
JSON
{
  "hex": "#292587",
  "rgb": {
    "r": 41,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 242.449,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34298,
    "c": 0.15662,
    "h": 276
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#292587
secondary
#B1B553
accent
#E048DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #292587

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

Preview Lab → · Contrast checker → · Palette generator →

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