#372C7B#372C7B

#372C7B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.129 H 284.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#372C7B
RGBrgb(55, 44, 123)
HSLhsl(248, 47%, 33%)
HSVhsv(248, 64%, 48%)
CMYKcmyk(55.3%, 64.2%, 0%, 51.8%)
CIE-LABlab(23.81, 28.03, -43.50)
CIE-LCHlch(23.81, 51.75, 302.79°)
OKLaboklab(35.5% 0.0312 -0.1248)
OKLCHoklch(35.5% 0.129 284.1)
XYZxyz(6.0503, 4.0433, 19.1967)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372C7B #707B2C
analogous
#2C497B #372C7B #5E2C7B
triadic
#372C7B #7B372C #2C7B37
tetradic
#372C7B #7B2C49 #707B2C #2C7B5E
square
#372C7B #7B2C49 #707B2C #2C7B5E
split-complementary
#372C7B #7B5E2C #497B2C
monochromatic
#0F0C21 #231C4E #372C7B #4B3CA8 #6B5DC5

Accessibility & contrast

On white

11.61
#372C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#372C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372C7B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372C7B#FFFFFF#000000##FFFFFF
##372C7B1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#1A3F4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372c7b;
/* rgb */ color: rgb(55, 44, 123);
/* oklch */ color: oklch(35.5% 0.129 284.1);
Tailwind
colors: {
  custom: {
    50: '#7566a2',
    500: '#372c7b',
    950: '#000000',
  },
}
SCSS
$custom: #372c7b;
$custom-light: #7566a2;
$custom-dark: #000000;
JSON
{
  "hex": "#372c7b",
  "rgb": {
    "r": 55,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 248.354,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.12862,
    "h": 284.1
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#372C7B
secondary
#9FAB58
accent
#D751C4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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