#37519D#37519D

#37519D is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.127 H 267.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#37519D
RGBrgb(55, 81, 157)
HSLhsl(225, 48%, 42%)
HSVhsv(225, 65%, 62%)
CMYKcmyk(65%, 48.4%, 0%, 38.4%)
CIE-LABlab(36.23, 15.54, -44.41)
CIE-LCHlch(36.23, 47.05, 289.28°)
OKLaboklab(45.59% -0.0065 -0.1271)
OKLCHoklch(45.59% 0.127 267.1)
XYZxyz(10.6017, 9.1304, 33.0954)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37519D #9D8337
analogous
#37849D #37519D #50379D
triadic
#37519D #9D3751 #519D37
tetradic
#37519D #9D3784 #9D8337 #379D50
square
#37519D #9D3784 #9D8337 #379D50
split-complementary
#37519D #9D5037 #849D37
monochromatic
#172242 #273A70 #37519D #506DC2 #7D92D1

Accessibility & contrast

On white

7.43
#37519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#37519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37519D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37519D#FFFFFF#000000##FFFFFF
##37519D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#16519B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #37519d;
/* rgb */ color: rgb(55, 81, 157);
/* oklch */ color: oklch(45.6% 0.127 267.1);
Tailwind
colors: {
  custom: {
    50: '#7981ba',
    500: '#37519d',
    950: '#000000',
  },
}
SCSS
$custom: #37519d;
$custom-light: #7981ba;
$custom-dark: #000000;
JSON
{
  "hex": "#37519d",
  "rgb": {
    "r": 55,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 224.706,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.12725,
    "h": 267.1
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#37519D
secondary
#BBA975
accent
#B550D8
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #37519D

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

Preview Lab → · Contrast checker → · Palette generator →

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