#372D83#372D83

#372D83 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.138 H 282.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#372D83
RGBrgb(55, 45, 131)
HSLhsl(247, 49%, 35%)
HSVhsv(247, 66%, 51%)
CMYKcmyk(58%, 65.6%, 0%, 48.6%)
CIE-LABlab(24.73, 30.07, -47.06)
CIE-LCHlch(24.73, 55.85, 302.58°)
OKLaboklab(36.37% 0.0295 -0.1352)
OKLCHoklch(36.37% 0.138 282.3)
XYZxyz(6.6094, 4.3273, 21.9553)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D83 #79832D
analogous
#2D4E83 #372D83 #622D83
triadic
#372D83 #83372D #2D8337
tetradic
#372D83 #832D4E #79832D #2D8362
square
#372D83 #832D4E #79832D #2D8362
split-complementary
#372D83 #83622D #4E832D
monochromatic
#110E28 #241D55 #372D83 #4A3DB1 #6E62C9

Accessibility & contrast

On white

11.26
#372D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#372D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D83
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D83#FFFFFF#000000##FFFFFF
##372D831.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#104253
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #372d83;
/* rgb */ color: rgb(55, 45, 131);
/* oklch */ color: oklch(36.4% 0.138 282.3);
Tailwind
colors: {
  custom: {
    50: '#7666a8',
    500: '#372d83',
    950: '#000000',
  },
}
SCSS
$custom: #372d83;
$custom-light: #7666a8;
$custom-dark: #000000;
JSON
{
  "hex": "#372d83",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 246.977,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.13842,
    "h": 282.3
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#372D83
secondary
#A6AF5C
accent
#D84FC8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #372D83

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

Preview Lab → · Contrast checker → · Palette generator →

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