#37278F#37278F

#37278F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.162 H 281.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#37278F
RGBrgb(55, 39, 143)
HSLhsl(249, 57%, 36%)
HSVhsv(249, 73%, 56%)
CMYKcmyk(61.5%, 72.7%, 0%, 43.9%)
CIE-LABlab(24.47, 37.69, -54.97)
CIE-LCHlch(24.47, 66.65, 304.44°)
OKLaboklab(36.52% 0.0331 -0.1584)
OKLCHoklch(36.52% 0.162 281.8)
XYZxyz(7.2574, 4.2459, 26.4184)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37278F #7F8F27
analogous
#274B8F #37278F #6B278F
triadic
#37278F #8F3727 #278F37
tetradic
#37278F #8F274B #7F8F27 #278F6B
square
#37278F #8F274B #7F8F27 #278F6B
split-complementary
#37278F #8F6B27 #4B8F27
monochromatic
#120D2F #251A5F #37278F #4934BF #705DD3

Accessibility & contrast

On white

11.36
#37278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#37278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37278F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37278F#FFFFFF#000000##FFFFFF
##37278F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #37278f;
/* rgb */ color: rgb(55, 39, 143);
/* oklch */ color: oklch(36.5% 0.162 281.8);
Tailwind
colors: {
  custom: {
    50: '#7963b1',
    500: '#37278f',
    950: '#000000',
  },
}
SCSS
$custom: #37278f;
$custom-light: #7963b1;
$custom-dark: #000000;
JSON
{
  "hex": "#37278f",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 249.231,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36521,
    "c": 0.16185,
    "h": 281.8
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#37278F
secondary
#AAB85A
accent
#E047C9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #37278F

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

Preview Lab → · Contrast checker → · Palette generator →

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