#372A7E#372A7E

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

Color values

HEX#372A7E
RGBrgb(55, 42, 126)
HSLhsl(249, 50%, 33%)
HSVhsv(249, 67%, 49%)
CMYKcmyk(56.3%, 66.7%, 0%, 50.6%)
CIE-LABlab(23.59, 30.30, -45.77)
CIE-LCHlch(23.59, 54.89, 303.50°)
OKLaboklab(35.41% 0.0331 -0.1314)
OKLCHoklch(35.41% 0.136 284.1)
XYZxyz(6.1683, 3.9742, 20.1767)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A7E #717E2A
analogous
#2A477E #372A7E #612A7E
triadic
#372A7E #7E372A #2A7E37
tetradic
#372A7E #7E2A47 #717E2A #2A7E61
square
#372A7E #7E2A47 #717E2A #2A7E61
split-complementary
#372A7E #7E612A #477E2A
monochromatic
#0F0B22 #231B50 #372A7E #4B39AC #6B5AC8

Accessibility & contrast

On white

11.70
#372A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#372A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A7E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A7E#FFFFFF#000000##FFFFFF
##372A7E1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#183F50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372a7e;
/* rgb */ color: rgb(55, 42, 126);
/* oklch */ color: oklch(35.4% 0.136 284.1);
Tailwind
colors: {
  custom: {
    50: '#7564a4',
    500: '#372a7e',
    950: '#000000',
  },
}
SCSS
$custom: #372a7e;
$custom-light: #7564a4;
$custom-dark: #000000;
JSON
{
  "hex": "#372a7e",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 249.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35409,
    "c": 0.13555,
    "h": 284.1
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#372A7E
secondary
#A0AE56
accent
#DA4EC4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #372A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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