#373FA8#373FA8

#373FA8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.166 H 273.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#373FA8
RGBrgb(55, 63, 168)
HSLhsl(236, 51%, 44%)
HSVhsv(236, 67%, 66%)
CMYKcmyk(67.3%, 62.5%, 0%, 34.1%)
CIE-LABlab(32.24, 31.35, -57.48)
CIE-LCHlch(32.24, 65.47, 298.60°)
OKLaboklab(42.85% 0.0107 -0.1657)
OKLCHoklch(42.85% 0.166 273.7)
XYZxyz(10.4186, 7.1935, 37.8776)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373FA8 #A8A037
analogous
#3777A8 #373FA8 #6737A8
triadic
#373FA8 #A8373F #3FA837
tetradic
#373FA8 #A83777 #A8A037 #37A867
square
#373FA8 #A83777 #A8A037 #37A867
split-complementary
#373FA8 #A86737 #77A837
monochromatic
#191C4C #282E7A #373FA8 #555DC7 #8389D6

Accessibility & contrast

On white

8.61
#373FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#373FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373FA8
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373FA8#FFFFFF#000000##FFFFFF
##373FA81.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #373fa8;
/* rgb */ color: rgb(55, 63, 168);
/* oklch */ color: oklch(42.8% 0.166 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c74c3',
    500: '#373fa8',
    950: '#000000',
  },
}
SCSS
$custom: #373fa8;
$custom-light: #7c74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#373fa8",
  "rgb": {
    "r": 55,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 235.752,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42848,
    "c": 0.16608,
    "h": 273.7
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#373FA8
secondary
#C0BB7B
accent
#D04EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #373FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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