#37279B#37279B

#37279B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.177 H 279.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#37279B
RGBrgb(55, 39, 155)
HSLhsl(248, 60%, 38%)
HSVhsv(248, 75%, 61%)
CMYKcmyk(64.5%, 74.8%, 0%, 39.2%)
CIE-LABlab(25.65, 41.54, -60.41)
CIE-LCHlch(25.65, 73.32, 304.51°)
OKLaboklab(37.72% 0.0306 -0.1743)
OKLCHoklch(37.72% 0.177 279.9)
XYZxyz(8.2156, 4.6292, 31.4646)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37279B #8B9B27
analogous
#27519B #37279B #71279B
triadic
#37279B #9B3727 #279B37
tetradic
#37279B #9B2751 #8B9B27 #279B71
square
#37279B #9B2751 #8B9B27 #279B71
split-complementary
#37279B #9B7127 #519B27
monochromatic
#140E39 #261B6A #37279B #4833CC #7464D8

Accessibility & contrast

On white

10.90
#37279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37279B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37279B#FFFFFF#000000##FFFFFF
##37279B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37279b;
/* rgb */ color: rgb(55, 39, 155);
/* oklch */ color: oklch(37.7% 0.177 279.9);
Tailwind
colors: {
  custom: {
    50: '#7b63ba',
    500: '#37279b',
    950: '#000000',
  },
}
SCSS
$custom: #37279b;
$custom-light: #7b63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#37279b",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 248.276,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37719,
    "c": 0.177,
    "h": 279.9
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #37279B

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

Preview Lab → · Contrast checker → · Palette generator →

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