#372E87#372E87

#372E87 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.143 H 281.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#372E87
RGBrgb(55, 46, 135)
HSLhsl(246, 49%, 35%)
HSVhsv(246, 66%, 53%)
CMYKcmyk(59.3%, 65.9%, 0%, 47.1%)
CIE-LABlab(25.31, 30.78, -48.62)
CIE-LCHlch(25.31, 57.55, 302.34°)
OKLaboklab(36.9% 0.0281 -0.1398)
OKLCHoklch(36.9% 0.143 281.4)
XYZxyz(6.9244, 4.5150, 23.4236)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E87 #7E872E
analogous
#2E5287 #372E87 #632E87
triadic
#372E87 #87372E #2E8737
tetradic
#372E87 #872E52 #7E872E #2E8763
square
#372E87 #872E52 #7E872E #2E8763
split-complementary
#372E87 #87632E #52872E
monochromatic
#120F2C #241E59 #372E87 #4A3EB5 #6F65CA

Accessibility & contrast

On white

11.04
#372E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#372E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E87
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E87#FFFFFF#000000##FFFFFF
##372E871.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#084456
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372e87;
/* rgb */ color: rgb(55, 46, 135);
/* oklch */ color: oklch(36.9% 0.143 281.4);
Tailwind
colors: {
  custom: {
    50: '#7767ab',
    500: '#372e87',
    950: '#000000',
  },
}
SCSS
$custom: #372e87;
$custom-light: #7767ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372e87",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 246.067,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.14261,
    "h": 281.4
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#372E87
secondary
#A9B160
accent
#D94FCB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372E87

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

Preview Lab → · Contrast checker → · Palette generator →

#372E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva