#372B9D#372B9D

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

Color values

HEX#372B9D
RGBrgb(55, 43, 157)
HSLhsl(246, 57%, 39%)
HSVhsv(246, 73%, 62%)
CMYKcmyk(65%, 72.6%, 0%, 38.4%)
CIE-LABlab(26.66, 39.92, -59.98)
CIE-LCHlch(26.66, 72.05, 303.65°)
OKLaboklab(38.5% 0.0274 -0.1731)
OKLCHoklch(38.5% 0.175 279)
XYZxyz(8.5233, 4.9736, 32.4026)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372B9D #919D2B
analogous
#2B589D #372B9D #702B9D
triadic
#372B9D #9D372B #2B9D37
tetradic
#372B9D #9D2B58 #919D2B #2B9D70
square
#372B9D #9D2B58 #919D2B #2B9D70
split-complementary
#372B9D #9D702B #589D2B
monochromatic
#15113D #261E6D #372B9D #4B3CCA #776CD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##372B9D#FFFFFF#000000##FFFFFF
##372B9D1.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)
#0043A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #372b9d;
/* rgb */ color: rgb(55, 43, 157);
/* oklch */ color: oklch(38.5% 0.175 279.0);
Tailwind
colors: {
  custom: {
    50: '#7b66bb',
    500: '#372b9d',
    950: '#000000',
  },
}
SCSS
$custom: #372b9d;
$custom-light: #7b66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#372b9d",
  "rgb": {
    "r": 55,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 246.316,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.17524,
    "h": 279
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#372B9D
secondary
#B4BD66
accent
#E048D0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #372B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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