#372797#372797

#372797 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.172 H 280.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#372797
RGBrgb(55, 39, 151)
HSLhsl(249, 59%, 37%)
HSVhsv(249, 74%, 59%)
CMYKcmyk(63.6%, 74.2%, 0%, 40.8%)
CIE-LABlab(25.25, 40.26, -58.62)
CIE-LCHlch(25.25, 71.12, 304.48°)
OKLaboklab(37.31% 0.0315 -0.1691)
OKLCHoklch(37.31% 0.172 280.5)
XYZxyz(7.8852, 4.4970, 29.7246)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372797 #879727
analogous
#274F97 #372797 #6F2797
triadic
#372797 #973727 #279737
tetradic
#372797 #97274F #879727 #27976F
square
#372797 #97274F #879727 #27976F
split-complementary
#372797 #976F27 #4F9727
monochromatic
#140E36 #251A66 #372797 #4934C8 #7362D6

Accessibility & contrast

On white

11.05
#372797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#372797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372797
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372797#FFFFFF#000000##FFFFFF
##3727971.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372797;
/* rgb */ color: rgb(55, 39, 151);
/* oklch */ color: oklch(37.3% 0.172 280.5);
Tailwind
colors: {
  custom: {
    50: '#7a63b7',
    500: '#372797',
    950: '#000000',
  },
}
SCSS
$custom: #372797;
$custom-light: #7a63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#372797",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 248.571,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.172,
    "h": 280.5
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#372797
secondary
#AFBC5E
accent
#E246CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372797

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

Preview Lab → · Contrast checker → · Palette generator →

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