#372A9D#372A9D

#372A9D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.176 H 279.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#372A9D
RGBrgb(55, 42, 157)
HSLhsl(247, 58%, 39%)
HSVhsv(247, 73%, 62%)
CMYKcmyk(65%, 73.2%, 0%, 38.4%)
CIE-LABlab(26.45, 40.50, -60.32)
CIE-LCHlch(26.45, 72.65, 303.88°)
OKLaboklab(38.35% 0.0281 -0.1741)
OKLCHoklch(38.35% 0.176 279.2)
XYZxyz(8.4874, 4.9018, 32.3906)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A9D #909D2A
analogous
#2A579D #372A9D #712A9D
triadic
#372A9D #9D372A #2A9D37
tetradic
#372A9D #9D2A57 #909D2A #2A9D71
square
#372A9D #9D2A57 #909D2A #2A9D71
split-complementary
#372A9D #9D712A #579D2A
monochromatic
#15103C #261D6D #372A9D #4A3ACA #776AD7

Accessibility & contrast

On white

10.60
#372A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#372A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A9D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A9D#FFFFFF#000000##FFFFFF
##372A9D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372a9d;
/* rgb */ color: rgb(55, 42, 157);
/* oklch */ color: oklch(38.3% 0.176 279.2);
Tailwind
colors: {
  custom: {
    50: '#7b65bb',
    500: '#372a9d',
    950: '#000000',
  },
}
SCSS
$custom: #372a9d;
$custom-light: #7b65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#372a9d",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 246.783,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38348,
    "c": 0.17632,
    "h": 279.2
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#372A9D
secondary
#B4BE65
accent
#E147D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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