#37279D#37279D

#37279D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.179 H 279.7°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#37279D
RGBrgb(55, 39, 157)
HSLhsl(248, 60%, 38%)
HSVhsv(248, 75%, 62%)
CMYKcmyk(65%, 75.2%, 0%, 38.4%)
CIE-LABlab(25.85, 42.18, -61.30)
CIE-LCHlch(25.85, 74.41, 304.53°)
OKLaboklab(37.92% 0.0301 -0.1769)
OKLCHoklch(37.92% 0.179 279.7)
XYZxyz(8.3849, 4.6969, 32.3565)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37279D #8D9D27
analogous
#27529D #37279D #72279D
triadic
#37279D #9D3727 #279D37
tetradic
#37279D #9D2752 #8D9D27 #279D72
square
#37279D #9D2752 #8D9D27 #279D72
split-complementary
#37279D #9D7227 #529D27
monochromatic
#150F3B #261B6C #37279D #4935CD #7566D9

Accessibility & contrast

On white

10.83
#37279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#37279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37279D
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37279D#FFFFFF#000000##FFFFFF
##37279D1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #37279d;
/* rgb */ color: rgb(55, 39, 157);
/* oklch */ color: oklch(37.9% 0.179 279.7);
Tailwind
colors: {
  custom: {
    50: '#7c64bb',
    500: '#37279d',
    950: '#000000',
  },
}
SCSS
$custom: #37279d;
$custom-light: #7c64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#37279d",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 248.136,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37923,
    "c": 0.17948,
    "h": 279.7
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

primary
#37279D
secondary
#B2BF61
accent
#E344CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #37279D

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

Preview Lab → · Contrast checker → · Palette generator →

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