#37289F#37289F

#37289F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.181 H 279.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#37289F
RGBrgb(55, 40, 159)
HSLhsl(248, 60%, 39%)
HSVhsv(248, 75%, 62%)
CMYKcmyk(65.4%, 74.8%, 0%, 37.6%)
CIE-LABlab(26.25, 42.27, -61.87)
CIE-LCHlch(26.25, 74.93, 304.34°)
OKLaboklab(38.27% 0.029 -0.1786)
OKLCHoklch(38.27% 0.181 279.2)
XYZxyz(8.5903, 4.8323, 33.2742)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37289F #909F28
analogous
#28559F #37289F #73289F
triadic
#37289F #9F3728 #289F37
tetradic
#37289F #9F2855 #909F28 #289F73
square
#37289F #9F2855 #909F28 #289F73
split-complementary
#37289F #9F7328 #559F28
monochromatic
#150F3D #261C6E #37289F #4A37CD #7768D9

Accessibility & contrast

On white

10.68
#37289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#37289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37289F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37289F#FFFFFF#000000##FFFFFF
##37289F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #37289f;
/* rgb */ color: rgb(55, 40, 159);
/* oklch */ color: oklch(38.3% 0.181 279.2);
Tailwind
colors: {
  custom: {
    50: '#7c64bd',
    500: '#37289f',
    950: '#000000',
  },
}
SCSS
$custom: #37289f;
$custom-light: #7c64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#37289f",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 247.563,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.18093,
    "h": 279.2
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#37289F
secondary
#B4BF64
accent
#E345CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #37289F

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

Preview Lab → · Contrast checker → · Palette generator →

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