#372EA5#372EA5

#372EA5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.182 H 277.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#372EA5
RGBrgb(55, 46, 165)
HSLhsl(245, 56%, 41%)
HSVhsv(245, 72%, 65%)
CMYKcmyk(66.7%, 72.1%, 0%, 35.3%)
CIE-LABlab(28.07, 40.81, -62.52)
CIE-LCHlch(28.07, 74.66, 303.13°)
OKLaboklab(39.73% 0.0238 -0.1805)
OKLCHoklch(39.73% 0.182 277.5)
XYZxyz(9.3419, 5.4820, 36.1559)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372EA5 #9CA52E
analogous
#2E61A5 #372EA5 #732EA5
triadic
#372EA5 #A5372E #2EA537
tetradic
#372EA5 #A52E61 #9CA52E #2EA573
square
#372EA5 #A52E61 #9CA52E #2EA573
split-complementary
#372EA5 #A5732E #61A52E
monochromatic
#171345 #272175 #372EA5 #4F45CB #7C75D8

Accessibility & contrast

On white

10.02
#372EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372EA5
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372EA5#FFFFFF#000000##FFFFFF
##372EA51.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372ea5;
/* rgb */ color: rgb(55, 46, 165);
/* oklch */ color: oklch(39.7% 0.182 277.5);
Tailwind
colors: {
  custom: {
    50: '#7d68c1',
    500: '#372ea5',
    950: '#000000',
  },
}
SCSS
$custom: #372ea5;
$custom-light: #7d68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#372ea5",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 244.538,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.18209,
    "h": 277.5
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#372EA5
secondary
#BAC06F
accent
#E048D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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