#292796#292796

#292796 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.174 H 274.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#292796
RGBrgb(41, 39, 150)
HSLhsl(241, 59%, 37%)
HSVhsv(241, 74%, 59%)
CMYKcmyk(72.7%, 74%, 0%, 41.2%)
CIE-LABlab(24.08, 38.26, -59.98)
CIE-LCHlch(24.08, 71.14, 302.53°)
OKLaboklab(36.17% 0.0126 -0.1734)
OKLCHoklch(36.17% 0.174 274.2)
XYZxyz(7.1432, 4.1238, 29.2678)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292796 #949627
analogous
#275D96 #292796 #612796
triadic
#292796 #962927 #279629
tetradic
#292796 #96275D #949627 #279661
square
#292796 #96275D #949627 #279661
split-complementary
#292796 #966127 #5D9627
monochromatic
#0E0E35 #1C1A65 #292796 #3634C7 #6361D6

Accessibility & contrast

On white

11.51
#292796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#292796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292796
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292796#FFFFFF#000000##FFFFFF
##2927961.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #292796;
/* rgb */ color: rgb(41, 39, 150);
/* oklch */ color: oklch(36.2% 0.174 274.2);
Tailwind
colors: {
  custom: {
    50: '#7462b6',
    500: '#292796',
    950: '#000000',
  },
}
SCSS
$custom: #292796;
$custom-light: #7462b6;
$custom-dark: #000000;
JSON
{
  "hex": "#292796",
  "rgb": {
    "r": 41,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 241.081,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36174,
    "c": 0.17391,
    "h": 274.2
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#292796
secondary
#BABC5D
accent
#E246DF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #292796

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

Preview Lab → · Contrast checker → · Palette generator →

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