#292874#292874

#292874 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.127 H 277.5°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#292874
RGBrgb(41, 40, 116)
HSLhsl(241, 49%, 31%)
HSVhsv(241, 66%, 45%)
CMYKcmyk(64.7%, 65.5%, 0%, 54.5%)
CIE-LABlab(21.02, 25.57, -43.64)
CIE-LCHlch(21.02, 50.59, 300.37°)
OKLaboklab(32.96% 0.0164 -0.1257)
OKLCHoklch(32.96% 0.127 277.5)
XYZxyz(4.8246, 3.2496, 16.8926)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292874 #737428
analogous
#284D74 #292874 #4F2874
triadic
#292874 #742928 #287429
tetradic
#292874 #74284D #737428 #28744F
square
#292874 #74284D #737428 #28744F
split-complementary
#292874 #744F28 #4D7428
monochromatic
#090919 #191846 #292874 #3938A2 #5453C4

Accessibility & contrast

On white

12.73
#292874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#292874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292874
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292874#FFFFFF#000000##FFFFFF
##2928741.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #292874;
/* rgb */ color: rgb(41, 40, 116);
/* oklch */ color: oklch(33.0% 0.127 277.5);
Tailwind
colors: {
  custom: {
    50: '#6c629d',
    500: '#292874',
    950: '#000000',
  },
}
SCSS
$custom: #292874;
$custom-light: #6c629d;
$custom-dark: #000000;
JSON
{
  "hex": "#292874",
  "rgb": {
    "r": 41,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 240.789,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32961,
    "c": 0.12673,
    "h": 277.5
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #292874

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

Preview Lab → · Contrast checker → · Palette generator →

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