#37288F#37288F

#37288F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.161 H 281.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#37288F
RGBrgb(55, 40, 143)
HSLhsl(249, 56%, 36%)
HSVhsv(249, 72%, 56%)
CMYKcmyk(61.5%, 72%, 0%, 43.9%)
CIE-LABlab(24.68, 37.11, -54.62)
CIE-LCHlch(24.68, 66.03, 304.19°)
OKLaboklab(36.67% 0.0323 -0.1574)
OKLCHoklch(36.67% 0.161 281.6)
XYZxyz(7.2907, 4.3125, 26.4295)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37288F #808F28
analogous
#284C8F #37288F #6A288F
triadic
#37288F #8F3728 #288F37
tetradic
#37288F #8F284C #808F28 #288F6A
square
#37288F #8F284C #808F28 #288F6A
split-complementary
#37288F #8F6A28 #4C8F28
monochromatic
#120D2F #251B5F #37288F #4935BF #705FD2

Accessibility & contrast

On white

11.27
#37288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#37288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37288F
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37288F#FFFFFF#000000##FFFFFF
##37288F1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #37288f;
/* rgb */ color: rgb(55, 40, 143);
/* oklch */ color: oklch(36.7% 0.161 281.6);
Tailwind
colors: {
  custom: {
    50: '#7964b1',
    500: '#37288f',
    950: '#000000',
  },
}
SCSS
$custom: #37288f;
$custom-light: #7964b1;
$custom-dark: #000000;
JSON
{
  "hex": "#37288f",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 248.738,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36671,
    "c": 0.16071,
    "h": 281.6
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#37288F
secondary
#AAB85B
accent
#E048CA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #37288F

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

Preview Lab → · Contrast checker → · Palette generator →

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