#372D80#372D80

#372D80 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.134 H 282.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#372D80
RGBrgb(55, 45, 128)
HSLhsl(247, 48%, 34%)
HSVhsv(247, 65%, 50%)
CMYKcmyk(57%, 64.8%, 0%, 49.8%)
CIE-LABlab(24.47, 29.06, -45.59)
CIE-LCHlch(24.47, 54.07, 302.52°)
OKLaboklab(36.11% 0.0298 -0.1309)
OKLCHoklch(36.11% 0.134 282.8)
XYZxyz(6.4090, 4.2471, 20.9000)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D80 #76802D
analogous
#2D4D80 #372D80 #612D80
triadic
#372D80 #80372D #2D8037
tetradic
#372D80 #802D4D #76802D #2D8061
square
#372D80 #802D4D #76802D #2D8061
split-complementary
#372D80 #80612D #4D802D
monochromatic
#100D25 #241D53 #372D80 #4A3DAD #6D60C7

Accessibility & contrast

On white

11.35
#372D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#372D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D80
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D80#FFFFFF#000000##FFFFFF
##372D801.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#154152
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372d80;
/* rgb */ color: rgb(55, 45, 128);
/* oklch */ color: oklch(36.1% 0.134 282.8);
Tailwind
colors: {
  custom: {
    50: '#7566a6',
    500: '#372d80',
    950: '#000000',
  },
}
SCSS
$custom: #372d80;
$custom-light: #7566a6;
$custom-dark: #000000;
JSON
{
  "hex": "#372d80",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 247.229,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36107,
    "c": 0.13425,
    "h": 282.8
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#372D80
secondary
#A4AE5B
accent
#D850C7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372D80

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

Preview Lab → · Contrast checker → · Palette generator →

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