#37289A#37289A

#37289A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.175 H 279.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#37289A
RGBrgb(55, 40, 154)
HSLhsl(248, 59%, 38%)
HSVhsv(248, 74%, 60%)
CMYKcmyk(64.3%, 74%, 0%, 39.6%)
CIE-LABlab(25.75, 40.66, -59.64)
CIE-LCHlch(25.75, 72.18, 304.29°)
OKLaboklab(37.76% 0.0301 -0.1721)
OKLCHoklch(37.76% 0.175 279.9)
XYZxyz(8.1652, 4.6623, 31.0352)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37289A #8B9A28
analogous
#28529A #37289A #70289A
triadic
#37289A #9A3728 #289A37
tetradic
#37289A #9A2852 #8B9A28 #289A70
square
#37289A #9A2852 #8B9A28 #289A70
split-complementary
#37289A #9A7028 #529A28
monochromatic
#140F39 #261B69 #37289A #4835CA #7465D7

Accessibility & contrast

On white

10.87
#37289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#37289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37289A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37289A#FFFFFF#000000##FFFFFF
##37289A1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #37289a;
/* rgb */ color: rgb(55, 40, 154);
/* oklch */ color: oklch(37.8% 0.175 279.9);
Tailwind
colors: {
  custom: {
    50: '#7b64b9',
    500: '#37289a',
    950: '#000000',
  },
}
SCSS
$custom: #37289a;
$custom-light: #7b64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#37289a",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 247.895,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37759,
    "c": 0.17469,
    "h": 279.9
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#37289A
secondary
#B1BD61
accent
#E246CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #37289A

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

Preview Lab → · Contrast checker → · Palette generator →

#37289A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva