#372A8F#372A8F

#372A8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.158 H 281.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#372A8F
RGBrgb(55, 42, 143)
HSLhsl(248, 55%, 36%)
HSVhsv(248, 71%, 56%)
CMYKcmyk(61.5%, 70.6%, 0%, 43.9%)
CIE-LABlab(25.11, 35.92, -53.92)
CIE-LCHlch(25.11, 64.79, 303.67°)
OKLaboklab(36.98% 0.0307 -0.1553)
OKLCHoklch(36.98% 0.158 281.2)
XYZxyz(7.3599, 4.4508, 26.4525)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A8F #828F2A
analogous
#2A508F #372A8F #6A2A8F
triadic
#372A8F #8F372A #2A8F37
tetradic
#372A8F #8F2A50 #828F2A #2A8F6A
square
#372A8F #8F2A50 #828F2A #2A8F6A
split-complementary
#372A8F #8F6A2A #508F2A
monochromatic
#130E30 #251C60 #372A8F #4938BE #7162D1

Accessibility & contrast

On white

11.11
#372A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#372A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A8F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A8F#FFFFFF#000000##FFFFFF
##372A8F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #372a8f;
/* rgb */ color: rgb(55, 42, 143);
/* oklch */ color: oklch(37.0% 0.158 281.2);
Tailwind
colors: {
  custom: {
    50: '#7965b1',
    500: '#372a8f',
    950: '#000000',
  },
}
SCSS
$custom: #372a8f;
$custom-light: #7965b1;
$custom-dark: #000000;
JSON
{
  "hex": "#372a8f",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 247.723,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36979,
    "c": 0.15835,
    "h": 281.2
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#372A8F
secondary
#ABB75E
accent
#DE4ACB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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