#37399D#37399D

#37399D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.159 H 275.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#37399D
RGBrgb(55, 57, 157)
HSLhsl(239, 48%, 42%)
HSVhsv(239, 65%, 62%)
CMYKcmyk(65%, 63.7%, 0%, 38.4%)
CIE-LABlab(29.84, 31.33, -54.76)
CIE-LCHlch(29.84, 63.09, 299.77°)
OKLaboklab(40.8% 0.0163 -0.1578)
OKLCHoklch(40.8% 0.159 275.9)
XYZxyz(9.1225, 6.1720, 32.6023)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37399D #9D9B37
analogous
#376C9D #37399D #68379D
triadic
#37399D #9D3739 #399D37
tetradic
#37399D #9D376C #9D9B37 #379D68
square
#37399D #9D376C #9D9B37 #379D68
split-complementary
#37399D #9D6837 #6C9D37
monochromatic
#171842 #272970 #37399D #5052C2 #7D7FD1

Accessibility & contrast

On white

9.40
#37399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#37399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37399D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37399D#FFFFFF#000000##FFFFFF
##37399D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #37399d;
/* rgb */ color: rgb(55, 57, 157);
/* oklch */ color: oklch(40.8% 0.159 275.9);
Tailwind
colors: {
  custom: {
    50: '#7a6fbb',
    500: '#37399d',
    950: '#000000',
  },
}
SCSS
$custom: #37399d;
$custom-light: #7a6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#37399d",
  "rgb": {
    "r": 55,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 238.824,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40797,
    "c": 0.15863,
    "h": 275.9
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#37399D
secondary
#BBB975
accent
#D550D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #37399D

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

Preview Lab → · Contrast checker → · Palette generator →

#37399D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva