#292872#292872

#292872 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.124 H 277.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#292872
RGBrgb(41, 40, 114)
HSLhsl(241, 48%, 30%)
HSVhsv(241, 65%, 45%)
CMYKcmyk(64%, 64.9%, 0%, 55.3%)
CIE-LABlab(20.84, 24.85, -42.65)
CIE-LCHlch(20.84, 49.36, 300.23°)
OKLaboklab(32.78% 0.0166 -0.1227)
OKLCHoklch(32.78% 0.124 277.7)
XYZxyz(4.7095, 3.2035, 16.2865)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292872 #717228
analogous
#284C72 #292872 #4E2872
triadic
#292872 #722928 #287229
tetradic
#292872 #72284C #717228 #28724E
square
#292872 #72284C #717228 #28724E
split-complementary
#292872 #724E28 #4C7228
monochromatic
#080817 #191845 #292872 #39389F #5452C2

Accessibility & contrast

On white

12.80
#292872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#292872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292872
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292872#FFFFFF#000000##FFFFFF
##2928721.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #292872;
/* rgb */ color: rgb(41, 40, 114);
/* oklch */ color: oklch(32.8% 0.124 277.7);
Tailwind
colors: {
  custom: {
    50: '#6c629b',
    500: '#292872',
    950: '#000000',
  },
}
SCSS
$custom: #292872;
$custom-light: #6c629b;
$custom-dark: #000000;
JSON
{
  "hex": "#292872",
  "rgb": {
    "r": 41,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 240.811,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32778,
    "c": 0.12384,
    "h": 277.7
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#292872
secondary
#A3A452
accent
#D850D6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #292872

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

Preview Lab → · Contrast checker → · Palette generator →

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