#372A86#372A86

#372A86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.146 H 282.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#372A86
RGBrgb(55, 42, 134)
HSLhsl(248, 52%, 35%)
HSVhsv(248, 69%, 53%)
CMYKcmyk(59%, 68.7%, 0%, 47.5%)
CIE-LABlab(24.29, 32.95, -49.66)
CIE-LCHlch(24.29, 59.60, 303.57°)
OKLaboklab(36.13% 0.0321 -0.1429)
OKLCHoklch(36.13% 0.146 282.7)
XYZxyz(6.7053, 4.1890, 23.0049)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A86 #79862A
analogous
#2A4B86 #372A86 #652A86
triadic
#372A86 #86372A #2A8637
tetradic
#372A86 #862A4B #79862A #2A8665
square
#372A86 #862A4B #79862A #2A8665
split-complementary
#372A86 #86652A #4B862A
monochromatic
#110D29 #241B57 #372A86 #4A39B5 #6E5ECD

Accessibility & contrast

On white

11.43
#372A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#372A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A86
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A86#FFFFFF#000000##FFFFFF
##372A861.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#0C4254
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372a86;
/* rgb */ color: rgb(55, 42, 134);
/* oklch */ color: oklch(36.1% 0.146 282.7);
Tailwind
colors: {
  custom: {
    50: '#7764aa',
    500: '#372a86',
    950: '#000000',
  },
}
SCSS
$custom: #372a86;
$custom-light: #7764aa;
$custom-dark: #000000;
JSON
{
  "hex": "#372a86",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 248.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36133,
    "c": 0.14643,
    "h": 282.7
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#372A86
secondary
#A6B25A
accent
#DC4CC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #372A86

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

Preview Lab → · Contrast checker → · Palette generator →

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