#373FA7#373FA7

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

Color values

HEX#373FA7
RGBrgb(55, 63, 167)
HSLhsl(236, 50%, 44%)
HSVhsv(236, 67%, 65%)
CMYKcmyk(67.1%, 62.3%, 0%, 34.5%)
CIE-LABlab(32.16, 30.99, -57.02)
CIE-LCHlch(32.16, 64.90, 298.53°)
OKLaboklab(42.76% 0.0108 -0.1644)
OKLCHoklch(42.76% 0.165 273.7)
XYZxyz(10.3258, 7.1563, 37.3889)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373FA7 #A79F37
analogous
#3777A7 #373FA7 #6737A7
triadic
#373FA7 #A7373F #3FA737
tetradic
#373FA7 #A73777 #A79F37 #37A767
square
#373FA7 #A73777 #A79F37 #37A767
split-complementary
#373FA7 #A76737 #77A737
monochromatic
#191C4B #282E79 #373FA7 #545DC7 #8288D6

Accessibility & contrast

On white

8.64
#373FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#373FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373FA7
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373FA7#FFFFFF#000000##FFFFFF
##373FA71.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #373fa7;
/* rgb */ color: rgb(55, 63, 167);
/* oklch */ color: oklch(42.8% 0.165 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c74c2',
    500: '#373fa7',
    950: '#000000',
  },
}
SCSS
$custom: #373fa7;
$custom-light: #7c74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#373fa7",
  "rgb": {
    "r": 55,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 235.714,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.16472,
    "h": 273.7
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#373FA7
secondary
#C0BB7A
accent
#D04EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #373FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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