#372D7C#372D7C

#372D7C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.129 H 283.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#372D7C
RGBrgb(55, 45, 124)
HSLhsl(248, 47%, 33%)
HSVhsv(248, 64%, 49%)
CMYKcmyk(55.6%, 63.7%, 0%, 51.4%)
CIE-LABlab(24.14, 27.72, -43.60)
CIE-LCHlch(24.14, 51.67, 302.44°)
OKLaboklab(35.76% 0.0301 -0.1251)
OKLCHoklch(35.76% 0.129 283.5)
XYZxyz(6.1509, 4.1439, 19.5406)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D7C #727C2D
analogous
#2D4A7C #372D7C #5E2D7C
triadic
#372D7C #7C372D #2D7C37
tetradic
#372D7C #7C2D4A #727C2D #2D7C5E
square
#372D7C #7C2D4A #727C2D #2D7C5E
split-complementary
#372D7C #7C5E2D #4A7C2D
monochromatic
#0F0C22 #231D4F #372D7C #4B3DA9 #6C5FC5

Accessibility & contrast

On white

11.48
#372D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#372D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D7C
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D7C#FFFFFF#000000##FFFFFF
##372D7C1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#194050
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372d7c;
/* rgb */ color: rgb(55, 45, 124);
/* oklch */ color: oklch(35.8% 0.129 283.5);
Tailwind
colors: {
  custom: {
    50: '#7566a3',
    500: '#372d7c',
    950: '#000000',
  },
}
SCSS
$custom: #372d7c;
$custom-light: #7566a3;
$custom-dark: #000000;
JSON
{
  "hex": "#372d7c",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 247.595,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35761,
    "c": 0.12863,
    "h": 283.5
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#372D7C
secondary
#A1AB5A
accent
#D651C6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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