#37289E#37289E

#37289E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.180 H 279.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#37289E
RGBrgb(55, 40, 158)
HSLhsl(248, 60%, 39%)
HSVhsv(248, 75%, 62%)
CMYKcmyk(65.2%, 74.7%, 0%, 38%)
CIE-LABlab(26.15, 41.95, -61.42)
CIE-LCHlch(26.15, 74.38, 304.33°)
OKLaboklab(38.16% 0.0292 -0.1773)
OKLCHoklch(38.16% 0.18 279.4)
XYZxyz(8.5039, 4.7978, 32.8190)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37289E #8F9E28
analogous
#28549E #37289E #72289E
triadic
#37289E #9E3728 #289E37
tetradic
#37289E #9E2854 #8F9E28 #289E72
square
#37289E #9E2854 #8F9E28 #289E72
split-complementary
#37289E #9E7228 #549E28
monochromatic
#150F3C #261C6D #37289E #4A37CC #7668D9

Accessibility & contrast

On white

10.72
#37289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#37289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37289E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37289E#FFFFFF#000000##FFFFFF
##37289E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #37289e;
/* rgb */ color: rgb(55, 40, 158);
/* oklch */ color: oklch(38.2% 0.180 279.4);
Tailwind
colors: {
  custom: {
    50: '#7c64bc',
    500: '#37289e',
    950: '#000000',
  },
}
SCSS
$custom: #37289e;
$custom-light: #7c64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#37289e",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 247.627,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.17969,
    "h": 279.4
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#37289E
secondary
#B3BF63
accent
#E345CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #37289E

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

Preview Lab → · Contrast checker → · Palette generator →

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