#37408D#37408D

#37408D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.127 H 274.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#37408D
RGBrgb(55, 64, 141)
HSLhsl(234, 44%, 38%)
HSVhsv(234, 61%, 55%)
CMYKcmyk(61%, 54.6%, 0%, 44.7%)
CIE-LABlab(30.40, 21.05, -44.07)
CIE-LCHlch(30.40, 48.84, 295.54°)
OKLaboklab(40.82% 0.0096 -0.1263)
OKLCHoklch(40.82% 0.127 274.3)
XYZxyz(8.2151, 6.4015, 25.9968)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37408D #8D8437
analogous
#376B8D #37408D #59378D
triadic
#37408D #8D3740 #408D37
tetradic
#37408D #8D376B #8D8437 #378D59
square
#37408D #8D376B #8D8437 #378D59
split-complementary
#37408D #8D5937 #6B8D37
monochromatic
#151835 #262C61 #37408D #4955B8 #757EC9

Accessibility & contrast

On white

9.21
#37408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#37408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37408D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37408D#FFFFFF#000000##FFFFFF
##37408D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #37408d;
/* rgb */ color: rgb(55, 64, 141);
/* oklch */ color: oklch(40.8% 0.127 274.3);
Tailwind
colors: {
  custom: {
    50: '#7674af',
    500: '#37408d',
    950: '#000000',
  },
}
SCSS
$custom: #37408d;
$custom-light: #7674af;
$custom-dark: #000000;
JSON
{
  "hex": "#37408d",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 233.721,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.12665,
    "h": 274.3
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#37408D
secondary
#B2AB6E
accent
#C654D4
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #37408D

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

Preview Lab → · Contrast checker → · Palette generator →

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