#37278B#37278B

#37278B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.157 H 282.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#37278B
RGBrgb(55, 39, 139)
HSLhsl(250, 56%, 35%)
HSVhsv(250, 72%, 55%)
CMYKcmyk(60.4%, 71.9%, 0%, 45.5%)
CIE-LABlab(24.09, 36.39, -53.11)
CIE-LCHlch(24.09, 64.38, 304.42°)
OKLaboklab(36.13% 0.0339 -0.153)
OKLCHoklch(36.13% 0.157 282.5)
XYZxyz(6.9598, 4.1269, 24.8509)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37278B #7B8B27
analogous
#27498B #37278B #69278B
triadic
#37278B #8B3727 #278B37
tetradic
#37278B #8B2749 #7B8B27 #278B69
square
#37278B #8B2749 #7B8B27 #278B69
split-complementary
#37278B #8B6927 #498B27
monochromatic
#110C2B #241A5B #37278B #4A34BB #6E5BD1

Accessibility & contrast

On white

11.50
#37278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#37278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37278B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37278B#FFFFFF#000000##FFFFFF
##37278B1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#014256
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #37278b;
/* rgb */ color: rgb(55, 39, 139);
/* oklch */ color: oklch(36.1% 0.157 282.5);
Tailwind
colors: {
  custom: {
    50: '#7863ae',
    500: '#37278b',
    950: '#000000',
  },
}
SCSS
$custom: #37278b;
$custom-light: #7863ae;
$custom-dark: #000000;
JSON
{
  "hex": "#37278b",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 249.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36131,
    "c": 0.1567,
    "h": 282.5
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#37278B
secondary
#A7B658
accent
#DF48C7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #37278B

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

Preview Lab → · Contrast checker → · Palette generator →

#37278B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva