#372A8E#372A8E

#372A8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.157 H 281.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#372A8E
RGBrgb(55, 42, 142)
HSLhsl(248, 54%, 36%)
HSVhsv(248, 70%, 56%)
CMYKcmyk(61.3%, 70.4%, 0%, 44.3%)
CIE-LABlab(25.02, 35.59, -53.45)
CIE-LCHlch(25.02, 64.22, 303.66°)
OKLaboklab(36.88% 0.0309 -0.154)
OKLCHoklch(36.88% 0.157 281.3)
XYZxyz(7.2845, 4.4206, 26.0553)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A8E #818E2A
analogous
#2A4F8E #372A8E #692A8E
triadic
#372A8E #8E372A #2A8E37
tetradic
#372A8E #8E2A4F #818E2A #2A8E69
square
#372A8E #8E2A4F #818E2A #2A8E69
split-complementary
#372A8E #8E692A #4F8E2A
monochromatic
#120E30 #251C5F #372A8E #4938BD #7062D1

Accessibility & contrast

On white

11.15
#372A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#372A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A8E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A8E#FFFFFF#000000##FFFFFF
##372A8E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372a8e;
/* rgb */ color: rgb(55, 42, 142);
/* oklch */ color: oklch(36.9% 0.157 281.3);
Tailwind
colors: {
  custom: {
    50: '#7865b0',
    500: '#372a8e',
    950: '#000000',
  },
}
SCSS
$custom: #372a8e;
$custom-light: #7865b0;
$custom-dark: #000000;
JSON
{
  "hex": "#372a8e",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 247.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.15704,
    "h": 281.3
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#372A8E
secondary
#ABB65D
accent
#DE4ACB
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #372A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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