#292798#292798

#292798 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.176 H 274.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#292798
RGBrgb(41, 39, 152)
HSLhsl(241, 59%, 37%)
HSVhsv(241, 74%, 60%)
CMYKcmyk(73%, 74.3%, 0%, 40.4%)
CIE-LABlab(24.29, 38.94, -60.86)
CIE-LCHlch(24.29, 72.26, 302.61°)
OKLaboklab(36.39% 0.0123 -0.176)
OKLCHoklch(36.39% 0.176 274)
XYZxyz(7.3056, 4.1887, 30.1232)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292798 #969827
analogous
#275D98 #292798 #622798
triadic
#292798 #982927 #279829
tetradic
#292798 #98275D #969827 #279862
square
#292798 #98275D #969827 #279862
split-complementary
#292798 #986227 #5D9827
monochromatic
#0F0E37 #1C1B67 #292798 #3633C9 #6563D7

Accessibility & contrast

On white

11.43
#292798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#292798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292798
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292798#FFFFFF#000000##FFFFFF
##2927981.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #292798;
/* rgb */ color: rgb(41, 39, 152);
/* oklch */ color: oklch(36.4% 0.176 274.0);
Tailwind
colors: {
  custom: {
    50: '#7562b7',
    500: '#292798',
    950: '#000000',
  },
}
SCSS
$custom: #292798;
$custom-light: #7562b7;
$custom-dark: #000000;
JSON
{
  "hex": "#292798",
  "rgb": {
    "r": 41,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 241.062,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36386,
    "c": 0.17646,
    "h": 274
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#292798
secondary
#BBBC5E
accent
#E245E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #292798

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

Preview Lab → · Contrast checker → · Palette generator →

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