#372A8D#372A8D

#372A8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.156 H 281.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#372A8D
RGBrgb(55, 42, 141)
HSLhsl(248, 54%, 36%)
HSVhsv(248, 70%, 55%)
CMYKcmyk(61%, 70.2%, 0%, 44.7%)
CIE-LABlab(24.92, 35.26, -52.98)
CIE-LCHlch(24.92, 63.64, 303.65°)
OKLaboklab(36.79% 0.031 -0.1526)
OKLCHoklch(36.79% 0.156 281.5)
XYZxyz(7.2097, 4.3907, 25.6617)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A8D #808D2A
analogous
#2A4E8D #372A8D #682A8D
triadic
#372A8D #8D372A #2A8D37
tetradic
#372A8D #8D2A4E #808D2A #2A8D68
square
#372A8D #8D2A4E #808D2A #2A8D68
split-complementary
#372A8D #8D682A #4E8D2A
monochromatic
#120E2F #251C5E #372A8D #4938BC #7061D0

Accessibility & contrast

On white

11.18
#372A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372A8D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A8D#FFFFFF#000000##FFFFFF
##372A8D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372a8d;
/* rgb */ color: rgb(55, 42, 141);
/* oklch */ color: oklch(36.8% 0.156 281.5);
Tailwind
colors: {
  custom: {
    50: '#7865af',
    500: '#372a8d',
    950: '#000000',
  },
}
SCSS
$custom: #372a8d;
$custom-light: #7865af;
$custom-dark: #000000;
JSON
{
  "hex": "#372a8d",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 247.879,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36788,
    "c": 0.15573,
    "h": 281.5
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#372A8D
secondary
#AAB65D
accent
#DD4ACA
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #372A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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