#372AAF#372AAF

#372AAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.198 H 277.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#372AAF
RGBrgb(55, 42, 175)
HSLhsl(246, 61%, 43%)
HSVhsv(246, 76%, 69%)
CMYKcmyk(68.6%, 76%, 0%, 31.4%)
CIE-LABlab(28.28, 46.27, -68.18)
CIE-LCHlch(28.28, 82.40, 304.16°)
OKLaboklab(40.19% 0.0242 -0.197)
OKLCHoklch(40.19% 0.198 277)
XYZxyz(10.1389, 5.5624, 41.0885)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AAF #A2AF2A
analogous
#2A5FAF #372AAF #7A2AAF
triadic
#372AAF #AF372A #2AAF37
tetradic
#372AAF #AF2A5F #A2AF2A #2AAF7A
square
#372AAF #AF2A5F #A2AF2A #2AAF7A
split-complementary
#372AAF #AF7A2A #5FAF2A
monochromatic
#18124C #271E7E #372AAF #5244D2 #8075DE

Accessibility & contrast

On white

9.94
#372AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#372AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AAF
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AAF#FFFFFF#000000##FFFFFF
##372AAF1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #372aaf;
/* rgb */ color: rgb(55, 42, 175);
/* oklch */ color: oklch(40.2% 0.198 277.0);
Tailwind
colors: {
  custom: {
    50: '#7f66c8',
    500: '#372aaf',
    950: '#000000',
  },
}
SCSS
$custom: #372aaf;
$custom-light: #7f66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#372aaf",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 245.865,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.19849,
    "h": 277
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#372AAF
secondary
#BDC66F
accent
#E443D5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #372AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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