#37518F#37518F

#37518F is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.107 H 265.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#37518F
RGBrgb(55, 81, 143)
HSLhsl(222, 44%, 39%)
HSVhsv(222, 62%, 56%)
CMYKcmyk(61.5%, 43.4%, 0%, 43.9%)
CIE-LABlab(35.36, 10.45, -37.34)
CIE-LCHlch(35.36, 38.78, 285.64°)
OKLaboklab(44.63% -0.0089 -0.1063)
OKLCHoklch(44.63% 0.107 265.2)
XYZxyz(9.4742, 8.6795, 27.1573)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37518F #8F7537
analogous
#377D8F #37518F #49378F
triadic
#37518F #8F3751 #518F37
tetradic
#37518F #8F377D #8F7537 #378F49
square
#37518F #8F377D #8F7537 #378F49
split-complementary
#37518F #8F4937 #7D8F37
monochromatic
#151F37 #263863 #37518F #4A6BB9 #768FCA

Accessibility & contrast

On white

7.68
#37518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#37518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37518F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37518F#FFFFFF#000000##FFFFFF
##37518F1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#294F8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #37518f;
/* rgb */ color: rgb(55, 81, 143);
/* oklch */ color: oklch(44.6% 0.107 265.2);
Tailwind
colors: {
  custom: {
    50: '#7681b0',
    500: '#37518f',
    950: '#000000',
  },
}
SCSS
$custom: #37518f;
$custom-light: #7681b0;
$custom-dark: #000000;
JSON
{
  "hex": "#37518f",
  "rgb": {
    "r": 55,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 222.273,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44632,
    "c": 0.10668,
    "h": 265.2
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#37518F
secondary
#B39F6F
accent
#AE54D4
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #37518F

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

Preview Lab → · Contrast checker → · Palette generator →

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