#372A9E#372A9E

#372A9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.178 H 279.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#372A9E
RGBrgb(55, 42, 158)
HSLhsl(247, 58%, 39%)
HSVhsv(247, 73%, 62%)
CMYKcmyk(65.2%, 73.4%, 0%, 38%)
CIE-LABlab(26.55, 40.82, -60.76)
CIE-LCHlch(26.55, 73.20, 303.89°)
OKLaboklab(38.45% 0.0279 -0.1754)
OKLCHoklch(38.45% 0.178 279)
XYZxyz(8.5731, 4.9361, 32.8421)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A9E #919E2A
analogous
#2A579E #372A9E #712A9E
triadic
#372A9E #9E372A #2A9E37
tetradic
#372A9E #9E2A57 #919E2A #2A9E71
square
#372A9E #9E2A57 #919E2A #2A9E71
split-complementary
#372A9E #9E712A #579E2A
monochromatic
#15103D #261D6E #372A9E #4B3ACB #776BD8

Accessibility & contrast

On white

10.57
#372A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#372A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A9E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A9E#FFFFFF#000000##FFFFFF
##372A9E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372a9e;
/* rgb */ color: rgb(55, 42, 158);
/* oklch */ color: oklch(38.4% 0.178 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c65bc',
    500: '#372a9e',
    950: '#000000',
  },
}
SCSS
$custom: #372a9e;
$custom-light: #7c65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#372a9e",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 246.724,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.17758,
    "h": 279
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#372A9E
secondary
#B4BE66
accent
#E147D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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