#292797#292797

#292797 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.175 H 274.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#292797
RGBrgb(41, 39, 151)
HSLhsl(241, 59%, 37%)
HSVhsv(241, 74%, 59%)
CMYKcmyk(72.8%, 74.2%, 0%, 40.8%)
CIE-LABlab(24.18, 38.60, -60.42)
CIE-LCHlch(24.18, 71.70, 302.57°)
OKLaboklab(36.28% 0.0124 -0.1747)
OKLCHoklch(36.28% 0.175 274.1)
XYZxyz(7.2240, 4.1561, 29.6937)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292797 #959727
analogous
#275D97 #292797 #612797
triadic
#292797 #972927 #279729
tetradic
#292797 #97275D #959727 #279761
square
#292797 #97275D #959727 #279761
split-complementary
#292797 #976127 #5D9727
monochromatic
#0F0E36 #1C1A66 #292797 #3634C8 #6462D6

Accessibility & contrast

On white

11.47
#292797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#292797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292797
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292797#FFFFFF#000000##FFFFFF
##2927971.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #292797;
/* rgb */ color: rgb(41, 39, 151);
/* oklch */ color: oklch(36.3% 0.175 274.1);
Tailwind
colors: {
  custom: {
    50: '#7462b7',
    500: '#292797',
    950: '#000000',
  },
}
SCSS
$custom: #292797;
$custom-light: #7462b7;
$custom-dark: #000000;
JSON
{
  "hex": "#292797",
  "rgb": {
    "r": 41,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 241.071,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3628,
    "c": 0.17518,
    "h": 274.1
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#292797
secondary
#BABC5E
accent
#E246DF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #292797

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

Preview Lab → · Contrast checker → · Palette generator →

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