#37517D#37517D

#37517D is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.5% C 0.080 H 260.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#37517D
RGBrgb(55, 81, 125)
HSLhsl(218, 39%, 35%)
HSVhsv(218, 56%, 49%)
CMYKcmyk(56%, 35.2%, 0%, 51%)
CIE-LABlab(34.35, 4.08, -27.90)
CIE-LCHlch(34.35, 28.20, 278.31°)
OKLaboklab(43.52% -0.0132 -0.0787)
OKLCHoklch(43.52% 0.08 260.5)
XYZxyz(8.2184, 8.1771, 20.5433)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37517D #7D6337
analogous
#37747D #37517D #40377D
triadic
#37517D #7D3751 #517D37
tetradic
#37517D #7D3774 #7D6337 #377D40
square
#37517D #7D3774 #7D6337 #377D40
split-complementary
#37517D #7D4037 #747D37
monochromatic
#121A28 #243552 #37517D #4A6DA7 #6F8DC0

Accessibility & contrast

On white

7.97
#37517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#37517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37517D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37517D#FFFFFF#000000##FFFFFF
##37517D1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#374E7C
Tritanopia (blue-blind)
#105B61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #37517d;
/* rgb */ color: rgb(55, 81, 125);
/* oklch */ color: oklch(43.5% 0.080 260.5);
Tailwind
colors: {
  custom: {
    50: '#7381a3',
    500: '#37517d',
    950: '#000000',
  },
}
SCSS
$custom: #37517d;
$custom-light: #7381a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37517d",
  "rgb": {
    "r": 55,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 217.714,
    "s": 38.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4352,
    "c": 0.07981,
    "h": 260.5
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#37517D
secondary
#A89067
accent
#A359CF
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #37517D

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

Preview Lab → · Contrast checker → · Palette generator →

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