#372792#372792

#372792 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.166 H 281.3°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#372792
RGBrgb(55, 39, 146)
HSLhsl(249, 58%, 36%)
HSVhsv(249, 73%, 57%)
CMYKcmyk(62.3%, 73.3%, 0%, 42.7%)
CIE-LABlab(24.76, 38.66, -56.35)
CIE-LCHlch(24.76, 68.33, 304.45°)
OKLaboklab(36.82% 0.0325 -0.1625)
OKLCHoklch(36.82% 0.166 281.3)
XYZxyz(7.4877, 4.3380, 27.6313)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372792 #829227
analogous
#274D92 #372792 #6D2792
triadic
#372792 #923727 #279237
tetradic
#372792 #92274D #829227 #27926D
square
#372792 #92274D #829227 #27926D
split-complementary
#372792 #926D27 #4D9227
monochromatic
#130D31 #251A62 #372792 #4934C2 #715FD4

Accessibility & contrast

On white

11.24
#372792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#372792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372792
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372792#FFFFFF#000000##FFFFFF
##3727921.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372792;
/* rgb */ color: rgb(55, 39, 146);
/* oklch */ color: oklch(36.8% 0.166 281.3);
Tailwind
colors: {
  custom: {
    50: '#7963b3',
    500: '#372792',
    950: '#000000',
  },
}
SCSS
$custom: #372792;
$custom-light: #7963b3;
$custom-dark: #000000;
JSON
{
  "hex": "#372792",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 248.972,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36816,
    "c": 0.16568,
    "h": 281.3
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#372792
secondary
#ABBA5B
accent
#E147CA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372792

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

Preview Lab → · Contrast checker → · Palette generator →

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