#37288B#37288B

#37288B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.156 H 282.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#37288B
RGBrgb(55, 40, 139)
HSLhsl(249, 55%, 35%)
HSVhsv(249, 71%, 55%)
CMYKcmyk(60.4%, 71.2%, 0%, 45.5%)
CIE-LABlab(24.30, 35.80, -52.76)
CIE-LCHlch(24.30, 63.76, 304.16°)
OKLaboklab(36.29% 0.0331 -0.1519)
OKLCHoklch(36.29% 0.156 282.3)
XYZxyz(6.9931, 4.1934, 24.8620)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37288B #7C8B28
analogous
#284A8B #37288B #68288B
triadic
#37288B #8B3728 #288B37
tetradic
#37288B #8B284A #7C8B28 #288B68
square
#37288B #8B284A #7C8B28 #288B68
split-complementary
#37288B #8B6828 #4A8B28
monochromatic
#110D2C #241A5B #37288B #4A36BB #6E5DD0

Accessibility & contrast

On white

11.42
#37288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#37288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37288B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37288B#FFFFFF#000000##FFFFFF
##37288B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#014256
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #37288b;
/* rgb */ color: rgb(55, 40, 139);
/* oklch */ color: oklch(36.3% 0.156 282.3);
Tailwind
colors: {
  custom: {
    50: '#7863ae',
    500: '#37288b',
    950: '#000000',
  },
}
SCSS
$custom: #37288b;
$custom-light: #7863ae;
$custom-dark: #000000;
JSON
{
  "hex": "#37288b",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 249.091,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.15551,
    "h": 282.3
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#37288B
secondary
#A8B659
accent
#DF49C8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #37288B

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

Preview Lab → · Contrast checker → · Palette generator →

#37288B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva