#372A9F#372A9F

#372A9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.179 H 278.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#372A9F
RGBrgb(55, 42, 159)
HSLhsl(247, 58%, 39%)
HSVhsv(247, 74%, 62%)
CMYKcmyk(65.4%, 73.6%, 0%, 37.6%)
CIE-LABlab(26.65, 41.14, -61.21)
CIE-LCHlch(26.65, 73.75, 303.91°)
OKLaboklab(38.55% 0.0277 -0.1767)
OKLCHoklch(38.55% 0.179 278.9)
XYZxyz(8.6595, 4.9707, 33.2973)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A9F #929F2A
analogous
#2A579F #372A9F #722A9F
triadic
#372A9F #9F372A #2A9F37
tetradic
#372A9F #9F2A57 #929F2A #2A9F72
square
#372A9F #9F2A57 #929F2A #2A9F72
split-complementary
#372A9F #9F722A #579F2A
monochromatic
#16103E #261D6F #372A9F #4B3BCB #776BD8

Accessibility & contrast

On white

10.53
#372A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372A9F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A9F#FFFFFF#000000##FFFFFF
##372A9F1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372a9f;
/* rgb */ color: rgb(55, 42, 159);
/* oklch */ color: oklch(38.5% 0.179 278.9);
Tailwind
colors: {
  custom: {
    50: '#7c65bc',
    500: '#372a9f',
    950: '#000000',
  },
}
SCSS
$custom: #372a9f;
$custom-light: #7c65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#372a9f",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 246.667,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.17883,
    "h": 278.9
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#372A9F
secondary
#B5BF66
accent
#E146D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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