#37518D#37518D

#37518D is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.104 H 264.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#37518D
RGBrgb(55, 81, 141)
HSLhsl(222, 44%, 38%)
HSVhsv(222, 61%, 55%)
CMYKcmyk(61%, 42.6%, 0%, 44.7%)
CIE-LABlab(35.24, 9.73, -36.31)
CIE-LCHlch(35.24, 37.60, 285.01°)
OKLaboklab(44.5% -0.0093 -0.1033)
OKLCHoklch(44.5% 0.104 264.9)
XYZxyz(9.3241, 8.6194, 26.3665)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37518D #8D7337
analogous
#377C8D #37518D #48378D
triadic
#37518D #8D3751 #518D37
tetradic
#37518D #8D377C #8D7337 #378D48
square
#37518D #8D377C #8D7337 #378D48
split-complementary
#37518D #8D4837 #7C8D37
monochromatic
#151E35 #263861 #37518D #496BB8 #758FC9

Accessibility & contrast

On white

7.71
#37518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#37518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37518D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37518D#FFFFFF#000000##FFFFFF
##37518D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #37518d;
/* rgb */ color: rgb(55, 81, 141);
/* oklch */ color: oklch(44.5% 0.104 264.9);
Tailwind
colors: {
  custom: {
    50: '#7681af',
    500: '#37518d',
    950: '#000000',
  },
}
SCSS
$custom: #37518d;
$custom-light: #7681af;
$custom-dark: #000000;
JSON
{
  "hex": "#37518d",
  "rgb": {
    "r": 55,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 221.86,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.10371,
    "h": 264.9
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#37518D
secondary
#B29D6E
accent
#AD54D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #37518D

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

Preview Lab → · Contrast checker → · Palette generator →

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