#372E8E#372E8E

#372E8E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.152 H 280.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#372E8E
RGBrgb(55, 46, 142)
HSLhsl(246, 51%, 37%)
HSVhsv(246, 68%, 56%)
CMYKcmyk(61.3%, 67.6%, 0%, 44.3%)
CIE-LABlab(25.92, 33.14, -51.97)
CIE-LCHlch(25.92, 61.64, 302.52°)
OKLaboklab(37.53% 0.0274 -0.1497)
OKLCHoklch(37.53% 0.152 280.4)
XYZxyz(7.4335, 4.7187, 26.1050)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E8E #858E2E
analogous
#2E558E #372E8E #672E8E
triadic
#372E8E #8E372E #2E8E37
tetradic
#372E8E #8E2E55 #858E2E #2E8E67
square
#372E8E #8E2E55 #858E2E #2E8E67
split-complementary
#372E8E #8E672E #558E2E
monochromatic
#131032 #251F60 #372E8E #493DBC #7268CE

Accessibility & contrast

On white

10.80
#372E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#372E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E8E
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E8E#FFFFFF#000000##FFFFFF
##372E8E1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #372e8e;
/* rgb */ color: rgb(55, 46, 142);
/* oklch */ color: oklch(37.5% 0.152 280.4);
Tailwind
colors: {
  custom: {
    50: '#7867b0',
    500: '#372e8e',
    950: '#000000',
  },
}
SCSS
$custom: #372e8e;
$custom-light: #7867b0;
$custom-dark: #000000;
JSON
{
  "hex": "#372e8e",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 245.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37533,
    "c": 0.15214,
    "h": 280.4
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#372E8E
secondary
#ADB563
accent
#DB4DCD
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #372E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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