#372F71#372F71

#372F71 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.2% C 0.110 H 284.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#372F71
RGBrgb(55, 47, 113)
HSLhsl(247, 41%, 31%)
HSVhsv(247, 58%, 44%)
CMYKcmyk(51.3%, 58.4%, 0%, 55.7%)
CIE-LABlab(23.79, 22.71, -37.16)
CIE-LCHlch(23.79, 43.55, 301.43°)
OKLaboklab(35.23% 0.028 -0.1061)
OKLCHoklch(35.23% 0.11 284.8)
XYZxyz(5.5718, 4.0372, 16.1053)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F71 #69712F
analogous
#2F4871 #372F71 #582F71
triadic
#372F71 #71372F #2F7137
tetradic
#372F71 #712F48 #69712F #2F7158
square
#372F71 #712F48 #69712F #2F7158
split-complementary
#372F71 #71582F #48712F
monochromatic
#0D0B1B #221D46 #372F71 #4C419C #6A5EBC

Accessibility & contrast

On white

11.62
#372F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#372F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F71
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F71#FFFFFF#000000##FFFFFF
##372F711.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B73
Deuteranopia (green-blind)
#033770
Tritanopia (blue-blind)
#223E4B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372f71;
/* rgb */ color: rgb(55, 47, 113);
/* oklch */ color: oklch(35.2% 0.110 284.8);
Tailwind
colors: {
  custom: {
    50: '#73679a',
    500: '#372f71',
    950: '#000000',
  },
}
SCSS
$custom: #372f71;
$custom-light: #73679a;
$custom-dark: #000000;
JSON
{
  "hex": "#372f71",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 247.273,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35234,
    "c": 0.10974,
    "h": 284.8
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#372F71
secondary
#99A25A
accent
#D157C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #372F71

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

Preview Lab → · Contrast checker → · Palette generator →

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