#372F8A#372F8A

#372F8A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.145 H 280.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#372F8A
RGBrgb(55, 47, 138)
HSLhsl(245, 49%, 36%)
HSVhsv(245, 66%, 54%)
CMYKcmyk(60.1%, 65.9%, 0%, 45.9%)
CIE-LABlab(25.80, 31.16, -49.68)
CIE-LCHlch(25.80, 58.65, 302.10°)
OKLaboklab(37.34% 0.0269 -0.1429)
OKLCHoklch(37.34% 0.145 280.7)
XYZxyz(7.1781, 4.6797, 24.5649)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F8A #828A2F
analogous
#2F558A #372F8A #652F8A
triadic
#372F8A #8A372F #2F8A37
tetradic
#372F8A #8A2F55 #828A2F #2F8A65
square
#372F8A #8A2F55 #828A2F #2F8A65
split-complementary
#372F8A #8A652F #558A2F
monochromatic
#13102F #251F5C #372F8A #493FB8 #7168CC

Accessibility & contrast

On white

10.85
#372F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372F8A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F8A#FFFFFF#000000##FFFFFF
##372F8A1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#014658
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372f8a;
/* rgb */ color: rgb(55, 47, 138);
/* oklch */ color: oklch(37.3% 0.145 280.7);
Tailwind
colors: {
  custom: {
    50: '#7768ad',
    500: '#372f8a',
    950: '#000000',
  },
}
SCSS
$custom: #372f8a;
$custom-light: #7768ad;
$custom-dark: #000000;
JSON
{
  "hex": "#372f8a",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 245.275,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.14543,
    "h": 280.7
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#372F8A
secondary
#ABB362
accent
#D94FCD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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