#37419D#37419D

#37419D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.148 H 273.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#37419D
RGBrgb(55, 65, 157)
HSLhsl(234, 48%, 42%)
HSVhsv(234, 65%, 62%)
CMYKcmyk(65%, 58.6%, 0%, 38.4%)
CIE-LABlab(31.87, 26.12, -51.47)
CIE-LCHlch(31.87, 57.72, 296.91°)
OKLaboklab(42.29% 0.0092 -0.148)
OKLCHoklch(42.29% 0.148 273.5)
XYZxyz(9.5496, 7.0263, 32.7447)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37419D #9D9337
analogous
#37749D #37419D #60379D
triadic
#37419D #9D3741 #419D37
tetradic
#37419D #9D3774 #9D9337 #379D60
square
#37419D #9D3774 #9D9337 #379D60
split-complementary
#37419D #9D6037 #749D37
monochromatic
#171B42 #272E70 #37419D #505BC2 #7D85D1

Accessibility & contrast

On white

8.73
#37419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#37419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37419D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37419D#FFFFFF#000000##FFFFFF
##37419D1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #37419d;
/* rgb */ color: rgb(55, 65, 157);
/* oklch */ color: oklch(42.3% 0.148 273.5);
Tailwind
colors: {
  custom: {
    50: '#7975bb',
    500: '#37419d',
    950: '#000000',
  },
}
SCSS
$custom: #37419d;
$custom-light: #7975bb;
$custom-dark: #000000;
JSON
{
  "hex": "#37419d",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 234.118,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42292,
    "c": 0.14832,
    "h": 273.5
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#37419D
secondary
#BBB475
accent
#CA50D8
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #37419D

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

Preview Lab → · Contrast checker → · Palette generator →

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