#372F7B#372F7B

#372F7B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.124 H 283.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#372F7B
RGBrgb(55, 47, 123)
HSLhsl(246, 45%, 33%)
HSVhsv(246, 62%, 48%)
CMYKcmyk(55.3%, 61.8%, 0%, 51.8%)
CIE-LABlab(24.56, 26.08, -42.29)
CIE-LCHlch(24.56, 49.68, 301.66°)
OKLaboklab(36.04% 0.0279 -0.1212)
OKLCHoklch(36.04% 0.124 283)
XYZxyz(6.1661, 4.2750, 19.2353)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372F7B #737B2F
analogous
#2F4D7B #372F7B #5D2F7B
triadic
#372F7B #7B372F #2F7B37
tetradic
#372F7B #7B2F4D #737B2F #2F7B5D
square
#372F7B #7B2F4D #737B2F #2F7B5D
split-complementary
#372F7B #7B5D2F #4D7B2F
monochromatic
#0F0D22 #231E4F #372F7B #4B40A7 #6C62C3

Accessibility & contrast

On white

11.32
#372F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#372F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372F7B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372F7B#FFFFFF#000000##FFFFFF
##372F7B1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#1A4150
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372f7b;
/* rgb */ color: rgb(55, 47, 123);
/* oklch */ color: oklch(36.0% 0.124 283.0);
Tailwind
colors: {
  custom: {
    50: '#7468a2',
    500: '#372f7b',
    950: '#000000',
  },
}
SCSS
$custom: #372f7b;
$custom-light: #7468a2;
$custom-dark: #000000;
JSON
{
  "hex": "#372f7b",
  "rgb": {
    "r": 55,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 246.316,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36043,
    "c": 0.12437,
    "h": 283
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#372F7B
secondary
#A2AA5C
accent
#D453C7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #372F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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