#372AAE#372AAE

#372AAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.1% C 0.197 H 277.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#372AAE
RGBrgb(55, 42, 174)
HSLhsl(246, 61%, 42%)
HSVhsv(246, 76%, 68%)
CMYKcmyk(68.4%, 75.9%, 0%, 31.8%)
CIE-LABlab(28.18, 45.95, -67.75)
CIE-LCHlch(28.18, 81.87, 304.14°)
OKLaboklab(40.09% 0.0244 -0.1958)
OKLCHoklch(40.09% 0.197 277.1)
XYZxyz(10.0410, 5.5233, 40.5731)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372AAE #A1AE2A
analogous
#2A5FAE #372AAE #792AAE
triadic
#372AAE #AE372A #2AAE37
tetradic
#372AAE #AE2A5F #A1AE2A #2AAE79
square
#372AAE #AE2A5F #A1AE2A #2AAE79
split-complementary
#372AAE #AE792A #5FAE2A
monochromatic
#18124B #271E7D #372AAE #5143D2 #7F75DE

Accessibility & contrast

On white

9.98
#372AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#372AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372AAE
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372AAE#FFFFFF#000000##FFFFFF
##372AAE1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372aae;
/* rgb */ color: rgb(55, 42, 174);
/* oklch */ color: oklch(40.1% 0.197 277.1);
Tailwind
colors: {
  custom: {
    50: '#7f66c7',
    500: '#372aae',
    950: '#000000',
  },
}
SCSS
$custom: #372aae;
$custom-light: #7f66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#372aae",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 245.909,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.19729,
    "h": 277.1
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#372AAE
secondary
#BDC56F
accent
#E444D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #372AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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