#372F8F#372F8F

#372F8F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.152 H 280.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#372F8F
RGBrgb(55, 47, 143)
HSLhsl(245, 51%, 37%)
HSVhsv(245, 67%, 56%)
CMYKcmyk(61.5%, 67.1%, 0%, 43.9%)
CIE-LABlab(26.24, 32.86, -52.07)
CIE-LCHlch(26.24, 61.57, 302.25°)
OKLaboklab(37.79% 0.0264 -0.1499)
OKLCHoklch(37.79% 0.152 280)
XYZxyz(7.5484, 4.8279, 26.5154)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F8F #878F2F
analogous
#2F578F #372F8F #672F8F
triadic
#372F8F #8F372F #2F8F37
tetradic
#372F8F #8F2F57 #878F2F #2F8F67
square
#372F8F #8F2F57 #878F2F #2F8F67
split-complementary
#372F8F #8F672F #578F2F
monochromatic
#141133 #252061 #372F8F #493EBD #736ACE

Accessibility & contrast

On white

10.68
#372F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#372F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F8F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F8F#FFFFFF#000000##FFFFFF
##372F8F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372f8f;
/* rgb */ color: rgb(55, 47, 143);
/* oklch */ color: oklch(37.8% 0.152 280.0);
Tailwind
colors: {
  custom: {
    50: '#7868b1',
    500: '#372f8f',
    950: '#000000',
  },
}
SCSS
$custom: #372f8f;
$custom-light: #7868b1;
$custom-dark: #000000;
JSON
{
  "hex": "#372f8f",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 245,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37793,
    "c": 0.15223,
    "h": 280
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#372F8F
secondary
#AFB565
accent
#DA4ECE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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