#373A8A#373A8A

#373A8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.131 H 277.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#373A8A
RGBrgb(55, 58, 138)
HSLhsl(238, 43%, 38%)
HSVhsv(238, 60%, 54%)
CMYKcmyk(60.1%, 58%, 0%, 45.9%)
CIE-LABlab(28.57, 23.99, -45.18)
CIE-LCHlch(28.57, 51.15, 297.97°)
OKLaboklab(39.38% 0.0158 -0.1296)
OKLCHoklch(39.38% 0.131 277)
XYZxyz(7.6746, 5.6728, 24.7304)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373A8A #8A8737
analogous
#37648A #373A8A #5D378A
triadic
#373A8A #8A373A #3A8A37
tetradic
#373A8A #8A3764 #8A8737 #378A5D
square
#373A8A #8A3764 #8A8737 #378A5D
split-complementary
#373A8A #8A5D37 #648A37
monochromatic
#141532 #26285E #373A8A #484CB6 #7477C8

Accessibility & contrast

On white

9.84
#373A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#373A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373A8A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373A8A#FFFFFF#000000##FFFFFF
##373A8A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #373a8a;
/* rgb */ color: rgb(55, 58, 138);
/* oklch */ color: oklch(39.4% 0.131 277.0);
Tailwind
colors: {
  custom: {
    50: '#7670ad',
    500: '#373a8a',
    950: '#000000',
  },
}
SCSS
$custom: #373a8a;
$custom-light: #7670ad;
$custom-dark: #000000;
JSON
{
  "hex": "#373a8a",
  "rgb": {
    "r": 55,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 237.831,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39379,
    "c": 0.13058,
    "h": 277
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#373A8A
secondary
#B0AE6D
accent
#CE55D3
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #373A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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