#292987#292987

#292987 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.152 H 275.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#292987
RGBrgb(41, 41, 135)
HSLhsl(240, 53%, 35%)
HSVhsv(240, 70%, 53%)
CMYKcmyk(69.6%, 69.6%, 0%, 47.1%)
CIE-LABlab(23.02, 31.77, -52.41)
CIE-LCHlch(23.02, 61.28, 301.23°)
OKLaboklab(34.96% 0.0137 -0.1513)
OKLCHoklch(34.96% 0.152 275.2)
XYZxyz(6.0791, 3.8060, 23.3312)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292987 #878729
analogous
#295887 #292987 #582987
triadic
#292987 #872929 #298729
tetradic
#292987 #872958 #878729 #298758
square
#292987 #872958 #878729 #298758
split-complementary
#292987 #875829 #588729
monochromatic
#0C0C29 #1B1B58 #292987 #3737B6 #5D5DCE

Accessibility & contrast

On white

11.92
#292987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#292987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292987
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292987#FFFFFF#000000##FFFFFF
##2929871.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #292987;
/* rgb */ color: rgb(41, 41, 135);
/* oklch */ color: oklch(35.0% 0.152 275.2);
Tailwind
colors: {
  custom: {
    50: '#7063ab',
    500: '#292987',
    950: '#000000',
  },
}
SCSS
$custom: #292987;
$custom-light: #7063ab;
$custom-dark: #000000;
JSON
{
  "hex": "#292987",
  "rgb": {
    "r": 41,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 240,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3496,
    "c": 0.15196,
    "h": 275.2
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#292987
secondary
#B3B359
accent
#DD4BDD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #292987

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

Preview Lab → · Contrast checker → · Palette generator →

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