#37279C#37279C

#37279C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.178 H 279.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#37279C
RGBrgb(55, 39, 156)
HSLhsl(248, 60%, 38%)
HSVhsv(248, 75%, 61%)
CMYKcmyk(64.7%, 75%, 0%, 38.8%)
CIE-LABlab(25.75, 41.86, -60.86)
CIE-LCHlch(25.75, 73.87, 304.52°)
OKLaboklab(37.82% 0.0303 -0.1756)
OKLCHoklch(37.82% 0.178 279.8)
XYZxyz(8.2999, 4.6629, 31.9087)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37279C #8C9C27
analogous
#27519C #37279C #71279C
triadic
#37279C #9C3727 #279C37
tetradic
#37279C #9C2751 #8C9C27 #279C71
square
#37279C #9C2751 #8C9C27 #279C71
split-complementary
#37279C #9C7127 #519C27
monochromatic
#140F3A #261B6B #37279C #4934CC #7565D8

Accessibility & contrast

On white

10.87
#37279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#37279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37279C
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37279C#FFFFFF#000000##FFFFFF
##37279C1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #37279c;
/* rgb */ color: rgb(55, 39, 156);
/* oklch */ color: oklch(37.8% 0.178 279.8);
Tailwind
colors: {
  custom: {
    50: '#7b63ba',
    500: '#37279c',
    950: '#000000',
  },
}
SCSS
$custom: #37279c;
$custom-light: #7b63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#37279c",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 248.205,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3782,
    "c": 0.17824,
    "h": 279.8
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#37279C
secondary
#B1BE61
accent
#E345CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #37279C

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

Preview Lab → · Contrast checker → · Palette generator →

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