#372CAF#372CAF

#372CAF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.197 H 276.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#372CAF
RGBrgb(55, 44, 175)
HSLhsl(245, 60%, 43%)
HSVhsv(245, 75%, 69%)
CMYKcmyk(68.6%, 74.9%, 0%, 31.4%)
CIE-LABlab(28.66, 45.18, -67.55)
CIE-LCHlch(28.66, 81.27, 303.78°)
OKLaboklab(40.46% 0.023 -0.1952)
OKLCHoklch(40.46% 0.197 276.7)
XYZxyz(10.2116, 5.7078, 41.1127)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372CAF #A4AF2C
analogous
#2C63AF #372CAF #782CAF
triadic
#372CAF #AF372C #2CAF37
tetradic
#372CAF #AF2C63 #A4AF2C #2CAF78
square
#372CAF #AF2C63 #A4AF2C #2CAF78
split-complementary
#372CAF #AF782C #63AF2C
monochromatic
#18134D #28207E #372CAF #5347D1 #8178DD

Accessibility & contrast

On white

9.80
#372CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#372CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372CAF
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372CAF#FFFFFF#000000##FFFFFF
##372CAF1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #372caf;
/* rgb */ color: rgb(55, 44, 175);
/* oklch */ color: oklch(40.5% 0.197 276.7);
Tailwind
colors: {
  custom: {
    50: '#7f67c8',
    500: '#372caf',
    950: '#000000',
  },
}
SCSS
$custom: #372caf;
$custom-light: #7f67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#372caf",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 245.038,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40459,
    "c": 0.19655,
    "h": 276.7
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#372CAF
secondary
#BEC572
accent
#E345D6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #372CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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