#372F7F#372F7F

#372F7F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.130 H 282.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#372F7F
RGBrgb(55, 47, 127)
HSLhsl(246, 46%, 34%)
HSVhsv(246, 63%, 50%)
CMYKcmyk(56.7%, 63%, 0%, 50.2%)
CIE-LABlab(24.88, 27.43, -44.30)
CIE-LCHlch(24.88, 52.10, 301.77°)
OKLaboklab(36.38% 0.0277 -0.1271)
OKLCHoklch(36.38% 0.13 282.3)
XYZxyz(6.4216, 4.3772, 20.5811)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F7F #777F2F
analogous
#2F4F7F #372F7F #5F2F7F
triadic
#372F7F #7F372F #2F7F37
tetradic
#372F7F #7F2F4F #777F2F #2F7F5F
square
#372F7F #7F2F4F #777F2F #2F7F5F
split-complementary
#372F7F #7F5F2F #4F7F2F
monochromatic
#100E26 #241E52 #372F7F #4A40AC #6D63C5

Accessibility & contrast

On white

11.20
#372F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#372F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F7F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F7F#FFFFFF#000000##FFFFFF
##372F7F1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#164252
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372f7f;
/* rgb */ color: rgb(55, 47, 127);
/* oklch */ color: oklch(36.4% 0.130 282.3);
Tailwind
colors: {
  custom: {
    50: '#7568a5',
    500: '#372f7f',
    950: '#000000',
  },
}
SCSS
$custom: #372f7f;
$custom-light: #7568a5;
$custom-dark: #000000;
JSON
{
  "hex": "#372f7f",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 246,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3638,
    "c": 0.13008,
    "h": 282.3
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#372F7F
secondary
#A4AC5E
accent
#D652C8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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