#372D7B#372D7B

#372D7B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.127 H 283.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#372D7B
RGBrgb(55, 45, 123)
HSLhsl(248, 46%, 33%)
HSVhsv(248, 63%, 48%)
CMYKcmyk(55.3%, 63.4%, 0%, 51.8%)
CIE-LABlab(24.06, 27.38, -43.10)
CIE-LCHlch(24.06, 51.06, 302.43°)
OKLaboklab(35.68% 0.0301 -0.1236)
OKLCHoklch(35.68% 0.127 283.7)
XYZxyz(6.0880, 4.1187, 19.2092)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D7B #717B2D
analogous
#2D4A7B #372D7B #5E2D7B
triadic
#372D7B #7B372D #2D7B37
tetradic
#372D7B #7B2D4A #717B2D #2D7B5E
square
#372D7B #7B2D4A #717B2D #2D7B5E
split-complementary
#372D7B #7B5E2D #4A7B2D
monochromatic
#0F0C21 #231D4E #372D7B #4B3DA8 #6B5EC4

Accessibility & contrast

On white

11.51
#372D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372D7B
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D7B#FFFFFF#000000##FFFFFF
##372D7B1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#1A404F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372d7b;
/* rgb */ color: rgb(55, 45, 123);
/* oklch */ color: oklch(35.7% 0.127 283.7);
Tailwind
colors: {
  custom: {
    50: '#7566a2',
    500: '#372d7b',
    950: '#000000',
  },
}
SCSS
$custom: #372d7b;
$custom-light: #7566a2;
$custom-dark: #000000;
JSON
{
  "hex": "#372d7b",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 247.692,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35676,
    "c": 0.12721,
    "h": 283.7
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#372D7B
secondary
#A0AB59
accent
#D652C5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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