#372B9F#372B9F

#372B9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.178 H 278.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#372B9F
RGBrgb(55, 43, 159)
HSLhsl(246, 57%, 40%)
HSVhsv(246, 73%, 62%)
CMYKcmyk(65.4%, 73%, 0%, 37.6%)
CIE-LABlab(26.86, 40.57, -60.87)
CIE-LCHlch(26.86, 73.16, 303.69°)
OKLaboklab(38.69% 0.027 -0.1757)
OKLCHoklch(38.69% 0.178 278.7)
XYZxyz(8.6954, 5.0425, 33.3092)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B9F #939F2B
analogous
#2B599F #372B9F #712B9F
triadic
#372B9F #9F372B #2B9F37
tetradic
#372B9F #9F2B59 #939F2B #2B9F71
square
#372B9F #9F2B59 #939F2B #2B9F71
split-complementary
#372B9F #9F712B #599F2B
monochromatic
#16113F #261E6F #372B9F #4B3DCA #786DD7

Accessibility & contrast

On white

10.46
#372B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#372B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372B9F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372B9F#FFFFFF#000000##FFFFFF
##372B9F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372b9f;
/* rgb */ color: rgb(55, 43, 159);
/* oklch */ color: oklch(38.7% 0.178 278.7);
Tailwind
colors: {
  custom: {
    50: '#7c66bc',
    500: '#372b9f',
    950: '#000000',
  },
}
SCSS
$custom: #372b9f;
$custom-light: #7c66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#372b9f",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 246.207,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38694,
    "c": 0.17776,
    "h": 278.7
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#372B9F
secondary
#B5BE67
accent
#E147D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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