#292398#292398

#292398 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.180 H 274.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#292398
RGBrgb(41, 35, 152)
HSLhsl(243, 63%, 37%)
HSVhsv(243, 77%, 60%)
CMYKcmyk(73%, 77%, 0%, 40.4%)
CIE-LABlab(23.47, 41.24, -62.21)
CIE-LCHlch(23.47, 74.63, 303.54°)
OKLaboklab(35.81% 0.0143 -0.1799)
OKLCHoklch(35.81% 0.18 274.6)
XYZxyz(7.1811, 3.9398, 30.0817)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292398 #929823
analogous
#235898 #292398 #642398
triadic
#292398 #982923 #239829
tetradic
#292398 #982358 #929823 #239864
square
#292398 #982358 #929823 #239864
split-complementary
#292398 #986423 #589823
monochromatic
#0E0C35 #1C1866 #292398 #362ECA #625CD9

Accessibility & contrast

On white

11.74
#292398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#292398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292398
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292398#FFFFFF#000000##FFFFFF
##2923981.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003296
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #292398;
/* rgb */ color: rgb(41, 35, 152);
/* oklch */ color: oklch(35.8% 0.180 274.6);
Tailwind
colors: {
  custom: {
    50: '#7560b8',
    500: '#292398',
    950: '#000000',
  },
}
SCSS
$custom: #292398;
$custom-light: #7560b8;
$custom-dark: #000000;
JSON
{
  "hex": "#292398",
  "rgb": {
    "r": 41,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 243.077,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35809,
    "c": 0.18048,
    "h": 274.6
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#292398
secondary
#B9BE59
accent
#E642DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #292398

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

Preview Lab → · Contrast checker → · Palette generator →

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