#372A82#372A82

#372A82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.141 H 283.4°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#372A82
RGBrgb(55, 42, 130)
HSLhsl(249, 51%, 34%)
HSVhsv(249, 68%, 51%)
CMYKcmyk(57.7%, 67.7%, 0%, 49%)
CIE-LABlab(23.93, 31.63, -47.73)
CIE-LCHlch(23.93, 57.26, 303.53°)
OKLaboklab(35.77% 0.0326 -0.1372)
OKLCHoklch(35.77% 0.141 283.4)
XYZxyz(6.4315, 4.0795, 21.5633)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A82 #75822A
analogous
#2A4982 #372A82 #632A82
triadic
#372A82 #82372A #2A8237
tetradic
#372A82 #822A49 #75822A #2A8263
square
#372A82 #822A49 #75822A #2A8263
split-complementary
#372A82 #82632A #49822A
monochromatic
#100C25 #231B54 #372A82 #4B39B0 #6C5CCA

Accessibility & contrast

On white

11.56
#372A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#372A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A82
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A82#FFFFFF#000000##FFFFFF
##372A821.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#134052
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372a82;
/* rgb */ color: rgb(55, 42, 130);
/* oklch */ color: oklch(35.8% 0.141 283.4);
Tailwind
colors: {
  custom: {
    50: '#7664a7',
    500: '#372a82',
    950: '#000000',
  },
}
SCSS
$custom: #372a82;
$custom-light: #7664a7;
$custom-dark: #000000;
JSON
{
  "hex": "#372a82",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 248.864,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35768,
    "c": 0.14102,
    "h": 283.4
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

primary
#372A82
secondary
#A3B058
accent
#DB4DC6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #372A82

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

Preview Lab → · Contrast checker → · Palette generator →

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