#292397#292397

#292397 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.179 H 274.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#292397
RGBrgb(41, 35, 151)
HSLhsl(243, 62%, 36%)
HSVhsv(243, 77%, 59%)
CMYKcmyk(72.8%, 76.8%, 0%, 40.8%)
CIE-LABlab(23.36, 40.91, -61.77)
CIE-LCHlch(23.36, 74.09, 303.51°)
OKLaboklab(35.7% 0.0145 -0.1786)
OKLCHoklch(35.7% 0.179 274.7)
XYZxyz(7.0995, 3.9072, 29.6522)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#292397 #919723
analogous
#235797 #292397 #632397
triadic
#292397 #972923 #239729
tetradic
#292397 #972357 #919723 #239763
square
#292397 #972357 #919723 #239763
split-complementary
#292397 #976323 #579723
monochromatic
#0E0C34 #1C1765 #292397 #362FC9 #625BD9

Accessibility & contrast

On white

11.79
#292397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#292397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #292397
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##292397#FFFFFF#000000##FFFFFF
##2923971.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #292397;
/* rgb */ color: rgb(41, 35, 151);
/* oklch */ color: oklch(35.7% 0.179 274.7);
Tailwind
colors: {
  custom: {
    50: '#7560b7',
    500: '#292397',
    950: '#000000',
  },
}
SCSS
$custom: #292397;
$custom-light: #7560b7;
$custom-dark: #000000;
JSON
{
  "hex": "#292397",
  "rgb": {
    "r": 41,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 243.103,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35699,
    "c": 0.17924,
    "h": 274.7
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#292397
secondary
#B8BE58
accent
#E542DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #292397

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

Preview Lab → · Contrast checker → · Palette generator →

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