#372D9C#372D9C

#372D9C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.172 H 278.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#372D9C
RGBrgb(55, 45, 156)
HSLhsl(245, 55%, 39%)
HSVhsv(245, 71%, 61%)
CMYKcmyk(64.7%, 71.2%, 0%, 38.8%)
CIE-LABlab(26.99, 38.42, -58.83)
CIE-LCHlch(26.99, 70.27, 303.15°)
OKLaboklab(38.7% 0.0261 -0.1697)
OKLCHoklch(38.7% 0.172 278.7)
XYZxyz(8.5128, 5.0886, 31.9796)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D9C #929C2D
analogous
#2D5B9C #372D9C #6E2D9C
triadic
#372D9C #9C372D #2D9C37
tetradic
#372D9C #9C2D5B #929C2D #2D9C6E
square
#372D9C #9C2D5B #929C2D #2D9C6E
split-complementary
#372D9C #9C6E2D #5B9C2D
monochromatic
#16123D #261F6D #372D9C #4B3FC8 #776ED5

Accessibility & contrast

On white

10.41
#372D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#372D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D9C
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D9C#FFFFFF#000000##FFFFFF
##372D9C1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #372d9c;
/* rgb */ color: rgb(55, 45, 156);
/* oklch */ color: oklch(38.7% 0.172 278.7);
Tailwind
colors: {
  custom: {
    50: '#7b67ba',
    500: '#372d9c',
    950: '#000000',
  },
}
SCSS
$custom: #372d9c;
$custom-light: #7b67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#372d9c",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 245.405,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38698,
    "c": 0.17173,
    "h": 278.7
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#372D9C
secondary
#B5BC68
accent
#DF49D1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #372D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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