#373789#373789

#373789 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.133 H 278.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#373789
RGBrgb(55, 55, 137)
HSLhsl(240, 43%, 38%)
HSVhsv(240, 60%, 54%)
CMYKcmyk(59.9%, 59.9%, 0%, 46.3%)
CIE-LABlab(27.71, 25.63, -45.96)
CIE-LCHlch(27.71, 52.62, 299.15°)
OKLaboklab(38.72% 0.019 -0.1319)
OKLCHoklch(38.72% 0.133 278.2)
XYZxyz(7.4557, 5.3502, 24.3019)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373789 #898937
analogous
#376089 #373789 #603789
triadic
#373789 #893737 #378937
tetradic
#373789 #893760 #898937 #378960
square
#373789 #893760 #898937 #378960
split-complementary
#373789 #896037 #608937
monochromatic
#141432 #25255D #373789 #4949B5 #7373C7

Accessibility & contrast

On white

10.14
#373789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#373789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373789
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373789#FFFFFF#000000##FFFFFF
##3737891.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#014B5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #373789;
/* rgb */ color: rgb(55, 55, 137);
/* oklch */ color: oklch(38.7% 0.133 278.2);
Tailwind
colors: {
  custom: {
    50: '#766eac',
    500: '#373789',
    950: '#000000',
  },
}
SCSS
$custom: #373789;
$custom-light: #766eac;
$custom-dark: #000000;
JSON
{
  "hex": "#373789",
  "rgb": {
    "r": 55,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 42.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38716,
    "c": 0.13328,
    "h": 278.2
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#373789
secondary
#B0B06C
accent
#D255D2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #373789

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

Preview Lab → · Contrast checker → · Palette generator →

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