#372AB8#372AB8

#372AB8 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.209 H 276.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#372AB8
RGBrgb(55, 42, 184)
HSLhsl(245, 63%, 44%)
HSVhsv(245, 77%, 72%)
CMYKcmyk(70.1%, 77.2%, 0%, 27.8%)
CIE-LABlab(29.23, 49.09, -71.98)
CIE-LCHlch(29.23, 87.13, 304.30°)
OKLaboklab(41.14% 0.0221 -0.2081)
OKLCHoklch(41.14% 0.209 276)
XYZxyz(11.0524, 5.9278, 45.8998)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AB8 #ABB82A
analogous
#2A64B8 #372AB8 #7E2AB8
triadic
#372AB8 #B8372A #2AB837
tetradic
#372AB8 #B82A64 #ABB82A #2AB87E
square
#372AB8 #B82A64 #ABB82A #2AB87E
split-complementary
#372AB8 #B87E2A #64B82A
monochromatic
#191354 #281F86 #372AB8 #564AD6 #857BE1

Accessibility & contrast

On white

9.61
#372AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#372AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AB8
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AB8#FFFFFF#000000##FFFFFF
##372AB81.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #372ab8;
/* rgb */ color: rgb(55, 42, 184);
/* oklch */ color: oklch(41.1% 0.209 276.0);
Tailwind
colors: {
  custom: {
    50: '#8167cf',
    500: '#372ab8',
    950: '#000000',
  },
}
SCSS
$custom: #372ab8;
$custom-light: #8167cf;
$custom-dark: #000000;
JSON
{
  "hex": "#372ab8",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 245.493,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.20925,
    "h": 276
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#372AB8
secondary
#C1C975
accent
#E642D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #372AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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