#372D81#372D81

#372D81 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.136 H 282.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#372D81
RGBrgb(55, 45, 129)
HSLhsl(247, 48%, 34%)
HSVhsv(247, 65%, 51%)
CMYKcmyk(57.4%, 65.1%, 0%, 49.4%)
CIE-LABlab(24.56, 29.40, -46.08)
CIE-LCHlch(24.56, 54.66, 302.54°)
OKLaboklab(36.19% 0.0297 -0.1324)
OKLCHoklch(36.19% 0.136 282.6)
XYZxyz(6.4752, 4.2736, 21.2483)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D81 #77812D
analogous
#2D4D81 #372D81 #612D81
triadic
#372D81 #81372D #2D8137
tetradic
#372D81 #812D4D #77812D #2D8161
square
#372D81 #812D4D #77812D #2D8161
split-complementary
#372D81 #81612D #4D812D
monochromatic
#100D26 #241D54 #372D81 #4A3DAE #6D61C8

Accessibility & contrast

On white

11.32
#372D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#372D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D81
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D81#FFFFFF#000000##FFFFFF
##372D811.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#134252
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372d81;
/* rgb */ color: rgb(55, 45, 129);
/* oklch */ color: oklch(36.2% 0.136 282.6);
Tailwind
colors: {
  custom: {
    50: '#7666a6',
    500: '#372d81',
    950: '#000000',
  },
}
SCSS
$custom: #372d81;
$custom-light: #7666a6;
$custom-dark: #000000;
JSON
{
  "hex": "#372d81",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 247.143,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36194,
    "c": 0.13565,
    "h": 282.6
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#372D81
secondary
#A4AE5C
accent
#D850C8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372D81

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

Preview Lab → · Contrast checker → · Palette generator →

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