#373178#373178

#373178 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.2% C 0.117 H 282.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#373178
RGBrgb(55, 49, 120)
HSLhsl(245, 42%, 33%)
HSVhsv(245, 59%, 47%)
CMYKcmyk(54.2%, 59.2%, 0%, 52.9%)
CIE-LABlab(24.84, 23.74, -39.93)
CIE-LCHlch(24.84, 46.45, 300.73°)
OKLaboklab(36.18% 0.0256 -0.1142)
OKLCHoklch(36.18% 0.117 282.6)
XYZxyz(6.0630, 4.3646, 18.2886)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373178 #727831
analogous
#314E78 #373178 #5A3178
triadic
#373178 #783731 #317837
tetradic
#373178 #78314E #727831 #31785A
square
#373178 #78314E #727831 #31785A
split-complementary
#373178 #785A31 #4E7831
monochromatic
#0F0E21 #231F4D #373178 #4B43A3 #6C64C0

Accessibility & contrast

On white

11.21
#373178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#373178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373178
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373178#FFFFFF#000000##FFFFFF
##3731781.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#1D414F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #373178;
/* rgb */ color: rgb(55, 49, 120);
/* oklch */ color: oklch(36.2% 0.117 282.6);
Tailwind
colors: {
  custom: {
    50: '#74699f',
    500: '#373178',
    950: '#000000',
  },
}
SCSS
$custom: #373178;
$custom-light: #74699f;
$custom-dark: #000000;
JSON
{
  "hex": "#373178",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 245.07,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36177,
    "c": 0.11709,
    "h": 282.6
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#373178
secondary
#A1A75E
accent
#D256C7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #373178

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

Preview Lab → · Contrast checker → · Palette generator →

#373178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva