#372E9F#372E9F

#372E9F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.174 H 278.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#372E9F
RGBrgb(55, 46, 159)
HSLhsl(245, 55%, 40%)
HSVhsv(245, 71%, 62%)
CMYKcmyk(65.4%, 71.1%, 0%, 37.6%)
CIE-LABlab(27.49, 38.82, -59.83)
CIE-LCHlch(27.49, 71.33, 302.98°)
OKLaboklab(39.15% 0.0248 -0.1727)
OKLCHoklch(39.15% 0.174 278.2)
XYZxyz(8.8085, 5.2687, 33.3469)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E9F #969F2E
analogous
#2E5D9F #372E9F #702E9F
triadic
#372E9F #9F372E #2E9F37
tetradic
#372E9F #9F2E5D #969F2E #2E9F70
square
#372E9F #9F2E5D #969F2E #2E9F70
split-complementary
#372E9F #9F702E #5D9F2E
monochromatic
#161340 #272070 #372E9F #4D42C8 #7971D6

Accessibility & contrast

On white

10.22
#372E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#372E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E9F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E9F#FFFFFF#000000##FFFFFF
##372E9F1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #372e9f;
/* rgb */ color: rgb(55, 46, 159);
/* oklch */ color: oklch(39.1% 0.174 278.2);
Tailwind
colors: {
  custom: {
    50: '#7b68bc',
    500: '#372e9f',
    950: '#000000',
  },
}
SCSS
$custom: #372e9f;
$custom-light: #7b68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#372e9f",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 244.779,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39145,
    "c": 0.17446,
    "h": 278.2
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#372E9F
secondary
#B7BE6B
accent
#DE49D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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