#37288C#37288C

#37288C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.157 H 282.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#37288C
RGBrgb(55, 40, 140)
HSLhsl(249, 56%, 35%)
HSVhsv(249, 71%, 55%)
CMYKcmyk(60.7%, 71.4%, 0%, 45.1%)
CIE-LABlab(24.39, 36.13, -53.23)
CIE-LCHlch(24.39, 64.33, 304.17°)
OKLaboklab(36.38% 0.0329 -0.1533)
OKLCHoklch(36.38% 0.157 282.1)
XYZxyz(7.0665, 4.2228, 25.2486)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37288C #7D8C28
analogous
#284B8C #37288C #69288C
triadic
#37288C #8C3728 #288C37
tetradic
#37288C #8C284B #7D8C28 #288C69
square
#37288C #8C284B #7D8C28 #288C69
split-complementary
#37288C #8C6928 #4B8C28
monochromatic
#120D2D #241A5C #37288C #4A36BC #6F5ED1

Accessibility & contrast

On white

11.38
#37288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37288C
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37288C#FFFFFF#000000##FFFFFF
##37288C1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #37288c;
/* rgb */ color: rgb(55, 40, 140);
/* oklch */ color: oklch(36.4% 0.157 282.1);
Tailwind
colors: {
  custom: {
    50: '#7863af',
    500: '#37288c',
    950: '#000000',
  },
}
SCSS
$custom: #37288c;
$custom-light: #7863af;
$custom-dark: #000000;
JSON
{
  "hex": "#37288c",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 249,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36381,
    "c": 0.15681,
    "h": 282.1
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#37288C
secondary
#A8B65A
accent
#DF49C8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #37288C

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

Preview Lab → · Contrast checker → · Palette generator →

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