#372F8D#372F8D

#372F8D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.150 H 280.2°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#372F8D
RGBrgb(55, 47, 141)
HSLhsl(245, 50%, 37%)
HSVhsv(245, 67%, 55%)
CMYKcmyk(61%, 66.7%, 0%, 44.7%)
CIE-LABlab(26.06, 32.18, -51.12)
CIE-LCHlch(26.06, 60.40, 302.19°)
OKLaboklab(37.61% 0.0266 -0.1471)
OKLCHoklch(37.61% 0.15 280.2)
XYZxyz(7.3983, 4.7678, 25.7246)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F8D #858D2F
analogous
#2F568D #372F8D #662F8D
triadic
#372F8D #8D372F #2F8D37
tetradic
#372F8D #8D2F56 #858D2F #2F8D66
square
#372F8D #8D2F56 #858D2F #2F8D66
split-complementary
#372F8D #8D662F #568D2F
monochromatic
#131031 #25205F #372F8D #493EBB #7269CD

Accessibility & contrast

On white

10.75
#372F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#372F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F8D
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F8D#FFFFFF#000000##FFFFFF
##372F8D1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #372f8d;
/* rgb */ color: rgb(55, 47, 141);
/* oklch */ color: oklch(37.6% 0.150 280.2);
Tailwind
colors: {
  custom: {
    50: '#7868af',
    500: '#372f8d',
    950: '#000000',
  },
}
SCSS
$custom: #372f8d;
$custom-light: #7868af;
$custom-dark: #000000;
JSON
{
  "hex": "#372f8d",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 245.106,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37611,
    "c": 0.14952,
    "h": 280.2
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#372F8D
secondary
#ADB464
accent
#DA4ECE
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #372F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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