#37278D#37278D

#37278D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.159 H 282.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#37278D
RGBrgb(55, 39, 141)
HSLhsl(249, 57%, 35%)
HSVhsv(249, 72%, 55%)
CMYKcmyk(61%, 72.3%, 0%, 44.7%)
CIE-LABlab(24.28, 37.04, -54.04)
CIE-LCHlch(24.28, 65.52, 304.43°)
OKLaboklab(36.33% 0.0335 -0.1557)
OKLCHoklch(36.33% 0.159 282.2)
XYZxyz(7.1073, 4.1859, 25.6276)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37278D #7D8D27
analogous
#274A8D #37278D #6A278D
triadic
#37278D #8D3727 #278D37
tetradic
#37278D #8D274A #7D8D27 #278D6A
square
#37278D #8D274A #7D8D27 #278D6A
split-complementary
#37278D #8D6A27 #4A8D27
monochromatic
#120C2D #241A5D #37278D #4A34BD #6F5CD2

Accessibility & contrast

On white

11.43
#37278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#37278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37278D
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37278D#FFFFFF#000000##FFFFFF
##37278D1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #37278d;
/* rgb */ color: rgb(55, 39, 141);
/* oklch */ color: oklch(36.3% 0.159 282.2);
Tailwind
colors: {
  custom: {
    50: '#7863af',
    500: '#37278d',
    950: '#000000',
  },
}
SCSS
$custom: #37278d;
$custom-light: #7863af;
$custom-dark: #000000;
JSON
{
  "hex": "#37278d",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 249.412,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36325,
    "c": 0.15928,
    "h": 282.2
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#37278D
secondary
#A8B759
accent
#E048C8
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #37278D

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

Preview Lab → · Contrast checker → · Palette generator →

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