#373F8A#373F8A

#373F8A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.124 H 274.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#373F8A
RGBrgb(55, 63, 138)
HSLhsl(234, 43%, 38%)
HSVhsv(234, 60%, 54%)
CMYKcmyk(60.1%, 54.3%, 0%, 45.9%)
CIE-LABlab(29.92, 20.65, -43.01)
CIE-LCHlch(29.92, 47.71, 295.65°)
OKLaboklab(40.38% 0.0104 -0.1232)
OKLCHoklch(40.38% 0.124 274.8)
XYZxyz(7.9390, 6.2016, 24.8185)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373F8A #8A8237
analogous
#37688A #373F8A #58378A
triadic
#373F8A #8A373F #3F8A37
tetradic
#373F8A #8A3768 #8A8237 #378A58
square
#373F8A #8A3768 #8A8237 #378A58
split-complementary
#373F8A #8A5837 #688A37
monochromatic
#141732 #262B5E #373F8A #4853B6 #747CC8

Accessibility & contrast

On white

9.37
#373F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#373F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373F8A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373F8A#FFFFFF#000000##FFFFFF
##373F8A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #373f8a;
/* rgb */ color: rgb(55, 63, 138);
/* oklch */ color: oklch(40.4% 0.124 274.8);
Tailwind
colors: {
  custom: {
    50: '#7673ad',
    500: '#373f8a',
    950: '#000000',
  },
}
SCSS
$custom: #373f8a;
$custom-light: #7673ad;
$custom-dark: #000000;
JSON
{
  "hex": "#373f8a",
  "rgb": {
    "r": 55,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 234.217,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40384,
    "c": 0.12361,
    "h": 274.8
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#373F8A
secondary
#B0AA6D
accent
#C755D3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #373F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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