#373F87#373F87

#373F87 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.2% C 0.119 H 274.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#373F87
RGBrgb(55, 63, 135)
HSLhsl(234, 42%, 37%)
HSVhsv(234, 59%, 53%)
CMYKcmyk(59.3%, 53.3%, 0%, 47.1%)
CIE-LABlab(29.70, 19.58, -41.49)
CIE-LCHlch(29.70, 45.88, 295.27°)
OKLaboklab(40.16% 0.0102 -0.1187)
OKLCHoklch(40.16% 0.119 274.9)
XYZxyz(7.7248, 6.1159, 23.6904)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373F87 #877F37
analogous
#376787 #373F87 #573787
triadic
#373F87 #87373F #3F8737
tetradic
#373F87 #873767 #877F37 #378757
square
#373F87 #873767 #877F37 #378757
split-complementary
#373F87 #875737 #678737
monochromatic
#141630 #252B5C #373F87 #4953B2 #737BC6

Accessibility & contrast

On white

9.44
#373F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#373F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373F87
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373F87#FFFFFF#000000##FFFFFF
##373F871.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17498A
Deuteranopia (green-blind)
#054385
Tritanopia (blue-blind)
#034F5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #373f87;
/* rgb */ color: rgb(55, 63, 135);
/* oklch */ color: oklch(40.2% 0.119 274.9);
Tailwind
colors: {
  custom: {
    50: '#7573aa',
    500: '#373f87',
    950: '#000000',
  },
}
SCSS
$custom: #373f87;
$custom-light: #7573aa;
$custom-dark: #000000;
JSON
{
  "hex": "#373f87",
  "rgb": {
    "r": 55,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 234,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.11916,
    "h": 274.9
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#373F87
secondary
#AFA86B
accent
#C656D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #373F87

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

Preview Lab → · Contrast checker → · Palette generator →

#373F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva