#373E8D#373E8D

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

Color values

HEX#373E8D
RGBrgb(55, 62, 141)
HSLhsl(235, 44%, 38%)
HSVhsv(235, 61%, 55%)
CMYKcmyk(61%, 56%, 0%, 44.7%)
CIE-LABlab(29.86, 22.39, -44.94)
CIE-LCHlch(29.86, 50.21, 296.48°)
OKLaboklab(40.41% 0.0117 -0.1289)
OKLCHoklch(40.41% 0.129 275.2)
XYZxyz(8.1043, 6.1799, 25.9599)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373E8D #8D8637
analogous
#37698D #373E8D #5B378D
triadic
#373E8D #8D373E #3E8D37
tetradic
#373E8D #8D3769 #8D8637 #378D5B
square
#373E8D #8D3769 #8D8637 #378D5B
split-complementary
#373E8D #8D5B37 #698D37
monochromatic
#151735 #262B61 #373E8D #4952B8 #757CC9

Accessibility & contrast

On white

9.39
#373E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #373E8D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373E8D#FFFFFF#000000##FFFFFF
##373E8D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064A90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #373e8d;
/* rgb */ color: rgb(55, 62, 141);
/* oklch */ color: oklch(40.4% 0.129 275.2);
Tailwind
colors: {
  custom: {
    50: '#7773af',
    500: '#373e8d',
    950: '#000000',
  },
}
SCSS
$custom: #373e8d;
$custom-light: #7773af;
$custom-dark: #000000;
JSON
{
  "hex": "#373e8d",
  "rgb": {
    "r": 55,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 235.116,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.12941,
    "h": 275.2
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#373E8D
secondary
#B2AC6E
accent
#C954D4
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #373E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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