#373790#373790

#373790 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.143 H 277.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#373790
RGBrgb(55, 55, 144)
HSLhsl(240, 45%, 39%)
HSVhsv(240, 62%, 56%)
CMYKcmyk(61.8%, 61.8%, 0%, 43.5%)
CIE-LABlab(28.27, 28.08, -49.38)
CIE-LCHlch(28.27, 56.80, 299.62°)
OKLaboklab(39.3% 0.0188 -0.142)
OKLCHoklch(39.3% 0.143 277.5)
XYZxyz(7.9742, 5.5576, 27.0327)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373790 #909037
analogous
#376490 #373790 #643790
triadic
#373790 #903737 #379037
tetradic
#373790 #903764 #909037 #379064
square
#373790 #903764 #909037 #379064
split-complementary
#373790 #906437 #649037
monochromatic
#151537 #262664 #373790 #4A4ABA #7777CB

Accessibility & contrast

On white

9.95
#373790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#373790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373790
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373790#FFFFFF#000000##FFFFFF
##3737901.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #373790;
/* rgb */ color: rgb(55, 55, 144);
/* oklch */ color: oklch(39.3% 0.143 277.5);
Tailwind
colors: {
  custom: {
    50: '#786eb1',
    500: '#373790',
    950: '#000000',
  },
}
SCSS
$custom: #373790;
$custom-light: #786eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#373790",
  "rgb": {
    "r": 55,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 44.724,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.14323,
    "h": 277.5
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#373790
secondary
#B4B46F
accent
#D453D4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #373790

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

Preview Lab → · Contrast checker → · Palette generator →

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