#37379D#37379D

#37379D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.161 H 276.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#37379D
RGBrgb(55, 55, 157)
HSLhsl(240, 48%, 42%)
HSVhsv(240, 65%, 62%)
CMYKcmyk(65%, 65%, 0%, 38.4%)
CIE-LABlab(29.36, 32.61, -55.55)
CIE-LCHlch(29.36, 64.42, 300.41°)
OKLaboklab(40.44% 0.018 -0.1601)
OKLCHoklch(40.44% 0.161 276.4)
XYZxyz(9.0256, 5.9782, 32.5700)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37379D #9D9D37
analogous
#376A9D #37379D #6A379D
triadic
#37379D #9D3737 #379D37
tetradic
#37379D #9D376A #9D9D37 #379D6A
square
#37379D #9D376A #9D9D37 #379D6A
split-complementary
#37379D #9D6A37 #6A9D37
monochromatic
#171742 #272770 #37379D #5050C2 #7D7DD1

Accessibility & contrast

On white

9.56
#37379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#37379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37379D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37379D#FFFFFF#000000##FFFFFF
##37379D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #37379d;
/* rgb */ color: rgb(55, 55, 157);
/* oklch */ color: oklch(40.4% 0.161 276.4);
Tailwind
colors: {
  custom: {
    50: '#7a6ebb',
    500: '#37379d',
    950: '#000000',
  },
}
SCSS
$custom: #37379d;
$custom-light: #7a6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#37379d",
  "rgb": {
    "r": 55,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40442,
    "c": 0.16114,
    "h": 276.4
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#37379D
secondary
#BBBB75
accent
#D850D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #37379D

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

Preview Lab → · Contrast checker → · Palette generator →

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