#372F9D#372F9D

#372F9D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.171 H 278.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#372F9D
RGBrgb(55, 47, 157)
HSLhsl(244, 54%, 40%)
HSVhsv(244, 70%, 62%)
CMYKcmyk(65%, 70.1%, 0%, 38.4%)
CIE-LABlab(27.52, 37.56, -58.57)
CIE-LCHlch(27.52, 69.58, 302.67°)
OKLaboklab(39.11% 0.0244 -0.169)
OKLCHoklch(39.11% 0.171 278.2)
XYZxyz(8.6759, 5.2789, 32.4535)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F9D #959D2F
analogous
#2F5E9D #372F9D #6E2F9D
triadic
#372F9D #9D372F #2F9D37
tetradic
#372F9D #9D2F5E #959D2F #2F9D6E
square
#372F9D #9D2F5E #959D2F #2F9D6E
split-complementary
#372F9D #9D6E2F #5E9D2F
monochromatic
#16133F #27216E #372F9D #4C43C7 #7972D5

Accessibility & contrast

On white

10.21
#372F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#372F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F9D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F9D#FFFFFF#000000##FFFFFF
##372F9D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372f9d;
/* rgb */ color: rgb(55, 47, 157);
/* oklch */ color: oklch(39.1% 0.171 278.2);
Tailwind
colors: {
  custom: {
    50: '#7b69bb',
    500: '#372f9d',
    950: '#000000',
  },
}
SCSS
$custom: #372f9d;
$custom-light: #7b69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#372f9d",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 244.364,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.39107,
    "c": 0.17075,
    "h": 278.2
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#372F9D
secondary
#B6BC6B
accent
#DD4BD3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #372F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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