#372F8B#372F8B

#372F8B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.147 H 280.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#372F8B
RGBrgb(55, 47, 139)
HSLhsl(245, 49%, 36%)
HSVhsv(245, 66%, 55%)
CMYKcmyk(60.4%, 66.2%, 0%, 45.5%)
CIE-LABlab(25.89, 31.50, -50.16)
CIE-LCHlch(25.89, 59.23, 302.13°)
OKLaboklab(37.43% 0.0268 -0.1443)
OKLCHoklch(37.43% 0.147 280.5)
XYZxyz(7.2508, 4.7088, 24.9479)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F8B #838B2F
analogous
#2F558B #372F8B #652F8B
triadic
#372F8B #8B372F #2F8B37
tetradic
#372F8B #8B2F55 #838B2F #2F8B65
square
#372F8B #8B2F55 #838B2F #2F8B65
split-complementary
#372F8B #8B652F #558B2F
monochromatic
#131030 #25205D #372F8B #493EB9 #7168CC

Accessibility & contrast

On white

10.81
#372F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#372F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F8B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F8B#FFFFFF#000000##FFFFFF
##372F8B1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372f8b;
/* rgb */ color: rgb(55, 47, 139);
/* oklch */ color: oklch(37.4% 0.147 280.5);
Tailwind
colors: {
  custom: {
    50: '#7768ae',
    500: '#372f8b',
    950: '#000000',
  },
}
SCSS
$custom: #372f8b;
$custom-light: #7768ae;
$custom-dark: #000000;
JSON
{
  "hex": "#372f8b",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 245.217,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37431,
    "c": 0.14679,
    "h": 280.5
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#372F8B
secondary
#ACB363
accent
#D94FCD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #372F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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