#372DA7#372DA7

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

Color values

HEX#372DA7
RGBrgb(55, 45, 167)
HSLhsl(245, 58%, 42%)
HSVhsv(245, 73%, 65%)
CMYKcmyk(67.1%, 73.1%, 0%, 34.5%)
CIE-LABlab(28.06, 42.04, -63.74)
CIE-LCHlch(28.06, 76.36, 303.40°)
OKLaboklab(39.79% 0.0241 -0.1841)
OKLCHoklch(39.79% 0.186 277.4)
XYZxyz(9.4867, 5.4782, 37.1092)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372DA7 #9DA72D
analogous
#2D60A7 #372DA7 #742DA7
triadic
#372DA7 #A7372D #2DA737
tetradic
#372DA7 #A72D60 #9DA72D #2DA774
square
#372DA7 #A72D60 #9DA72D #2DA774
split-complementary
#372DA7 #A7742D #60A72D
monochromatic
#171347 #272077 #372DA7 #5044CD #7D75DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##372DA7#FFFFFF#000000##FFFFFF
##372DA71.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)
#0047AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #372da7;
/* rgb */ color: rgb(55, 45, 167);
/* oklch */ color: oklch(39.8% 0.186 277.4);
Tailwind
colors: {
  custom: {
    50: '#7d68c2',
    500: '#372da7',
    950: '#000000',
  },
}
SCSS
$custom: #372da7;
$custom-light: #7d68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#372da7",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 244.918,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.18567,
    "h": 277.4
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#372DA7
secondary
#BBC16E
accent
#E147D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #372DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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