#37408C#37408C

#37408C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.125 H 274.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#37408C
RGBrgb(55, 64, 140)
HSLhsl(234, 44%, 38%)
HSVhsv(234, 61%, 55%)
CMYKcmyk(60.7%, 54.3%, 0%, 45.1%)
CIE-LABlab(30.33, 20.70, -43.57)
CIE-LCHlch(30.33, 48.23, 295.41°)
OKLaboklab(40.74% 0.0095 -0.1248)
OKLCHoklch(40.74% 0.125 274.4)
XYZxyz(8.1410, 6.3718, 25.6067)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37408C #8C8337
analogous
#376A8C #37408C #58378C
triadic
#37408C #8C3740 #408C37
tetradic
#37408C #8C376A #8C8337 #378C58
square
#37408C #8C376A #8C8337 #378C58
split-complementary
#37408C #8C5837 #6A8C37
monochromatic
#141834 #262C60 #37408C #4954B7 #757EC9

Accessibility & contrast

On white

9.23
#37408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#37408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37408C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37408C#FFFFFF#000000##FFFFFF
##37408C1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #37408c;
/* rgb */ color: rgb(55, 64, 140);
/* oklch */ color: oklch(40.7% 0.125 274.4);
Tailwind
colors: {
  custom: {
    50: '#7674ae',
    500: '#37408c',
    950: '#000000',
  },
}
SCSS
$custom: #37408c;
$custom-light: #7674ae;
$custom-dark: #000000;
JSON
{
  "hex": "#37408c",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 233.647,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.12517,
    "h": 274.4
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#37408C
secondary
#B1AA6D
accent
#C654D3
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #37408C

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

Preview Lab → · Contrast checker → · Palette generator →

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