#372A85#372A85

#372A85 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.145 H 282.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#372A85
RGBrgb(55, 42, 133)
HSLhsl(249, 52%, 34%)
HSVhsv(249, 68%, 52%)
CMYKcmyk(58.6%, 68.4%, 0%, 47.8%)
CIE-LABlab(24.20, 32.62, -49.18)
CIE-LCHlch(24.20, 59.01, 303.56°)
OKLaboklab(36.04% 0.0322 -0.1415)
OKLCHoklch(36.04% 0.145 282.8)
XYZxyz(6.6358, 4.1612, 22.6393)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A85 #78852A
analogous
#2A4B85 #372A85 #652A85
triadic
#372A85 #85372A #2A8537
tetradic
#372A85 #852A4B #78852A #2A8565
square
#372A85 #852A4B #78852A #2A8565
split-complementary
#372A85 #85652A #4B852A
monochromatic
#110D28 #241B56 #372A85 #4A39B4 #6D5DCC

Accessibility & contrast

On white

11.46
#372A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#372A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A85
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A85#FFFFFF#000000##FFFFFF
##372A851.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#0E4153
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372a85;
/* rgb */ color: rgb(55, 42, 133);
/* oklch */ color: oklch(36.0% 0.145 282.8);
Tailwind
colors: {
  custom: {
    50: '#7764a9',
    500: '#372a85',
    950: '#000000',
  },
}
SCSS
$custom: #372a85;
$custom-light: #7764a9;
$custom-dark: #000000;
JSON
{
  "hex": "#372a85",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 248.571,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36041,
    "c": 0.14508,
    "h": 282.8
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#372A85
secondary
#A5B259
accent
#DB4CC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #372A85

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

Preview Lab → · Contrast checker → · Palette generator →

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