#37518E#37518E

#37518E is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.6% C 0.105 H 265.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#37518E
RGBrgb(55, 81, 142)
HSLhsl(222, 44%, 39%)
HSVhsv(222, 61%, 56%)
CMYKcmyk(61.3%, 43%, 0%, 44.3%)
CIE-LABlab(35.30, 10.09, -36.83)
CIE-LCHlch(35.30, 38.19, 285.33°)
OKLaboklab(44.57% -0.0091 -0.1048)
OKLCHoklch(44.57% 0.105 265)
XYZxyz(9.3988, 8.6493, 26.7601)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37518E #8E7437
analogous
#377C8E #37518E #48378E
triadic
#37518E #8E3751 #518E37
tetradic
#37518E #8E377C #8E7437 #378E48
square
#37518E #8E377C #8E7437 #378E48
split-complementary
#37518E #8E4837 #7C8E37
monochromatic
#151F36 #263862 #37518E #496BB9 #768FCA

Accessibility & contrast

On white

7.69
#37518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#37518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37518E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37518E#FFFFFF#000000##FFFFFF
##37518E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#2A4F8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #37518e;
/* rgb */ color: rgb(55, 81, 142);
/* oklch */ color: oklch(44.6% 0.105 265.0);
Tailwind
colors: {
  custom: {
    50: '#7681af',
    500: '#37518e',
    950: '#000000',
  },
}
SCSS
$custom: #37518e;
$custom-light: #7681af;
$custom-dark: #000000;
JSON
{
  "hex": "#37518e",
  "rgb": {
    "r": 55,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 222.069,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44567,
    "c": 0.10519,
    "h": 265
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#37518E
secondary
#B39E6E
accent
#AE54D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #37518E

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

Preview Lab → · Contrast checker → · Palette generator →

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