#373985#373985

#373985 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.125 H 277.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#373985
RGBrgb(55, 57, 133)
HSLhsl(238, 41%, 37%)
HSVhsv(238, 59%, 52%)
CMYKcmyk(58.6%, 57.1%, 0%, 47.8%)
CIE-LABlab(27.93, 22.90, -43.11)
CIE-LCHlch(27.93, 48.82, 297.98°)
OKLaboklab(38.78% 0.0168 -0.1235)
OKLCHoklch(38.78% 0.125 277.7)
XYZxyz(7.2710, 5.4314, 22.8510)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373985 #858337
analogous
#376085 #373985 #5C3785
triadic
#373985 #853739 #398537
tetradic
#373985 #853760 #858337 #37855C
square
#373985 #853760 #858337 #37855C
split-complementary
#373985 #855C37 #608537
monochromatic
#13142E #25265A #373985 #494CB0 #7274C5

Accessibility & contrast

On white

10.07
#373985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#373985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373985
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373985#FFFFFF#000000##FFFFFF
##3739851.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034588
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#0A4B59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #373985;
/* rgb */ color: rgb(55, 57, 133);
/* oklch */ color: oklch(38.8% 0.125 277.7);
Tailwind
colors: {
  custom: {
    50: '#756fa9',
    500: '#373985',
    950: '#000000',
  },
}
SCSS
$custom: #373985;
$custom-light: #756fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#373985",
  "rgb": {
    "r": 55,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 238.462,
    "s": 41.489,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.12467,
    "h": 277.7
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#373985
secondary
#ADAC6A
accent
#CE56D1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #373985

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

Preview Lab → · Contrast checker → · Palette generator →

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