#373792#373792

#373792 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.146 H 277.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#373792
RGBrgb(55, 55, 146)
HSLhsl(240, 45%, 39%)
HSVhsv(240, 62%, 57%)
CMYKcmyk(62.3%, 62.3%, 0%, 42.7%)
CIE-LABlab(28.43, 28.78, -50.34)
CIE-LCHlch(28.43, 57.99, 299.75°)
OKLaboklab(39.47% 0.0187 -0.1448)
OKLCHoklch(39.47% 0.146 277.4)
XYZxyz(8.1284, 5.6193, 27.8449)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373792 #929237
analogous
#376592 #373792 #653792
triadic
#373792 #923737 #379237
tetradic
#373792 #923765 #929237 #379265
square
#373792 #923765 #929237 #379265
split-complementary
#373792 #926537 #659237
monochromatic
#161639 #262666 #373792 #4B4BBB #7777CC

Accessibility & contrast

On white

9.89
#373792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#373792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373792
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373792#FFFFFF#000000##FFFFFF
##3737921.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #373792;
/* rgb */ color: rgb(55, 55, 146);
/* oklch */ color: oklch(39.5% 0.146 277.4);
Tailwind
colors: {
  custom: {
    50: '#786eb3',
    500: '#373792',
    950: '#000000',
  },
}
SCSS
$custom: #373792;
$custom-light: #786eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#373792",
  "rgb": {
    "r": 55,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39474,
    "c": 0.14602,
    "h": 277.4
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#373792
secondary
#B5B570
accent
#D553D5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373792

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

Preview Lab → · Contrast checker → · Palette generator →

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