#37398E#37398E

#37398E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.138 H 277.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#37398E
RGBrgb(55, 57, 142)
HSLhsl(239, 44%, 39%)
HSVhsv(239, 61%, 56%)
CMYKcmyk(61.3%, 59.9%, 0%, 44.3%)
CIE-LABlab(28.62, 26.06, -47.57)
CIE-LCHlch(28.62, 54.25, 298.72°)
OKLaboklab(39.51% 0.0169 -0.1367)
OKLCHoklch(39.51% 0.138 277)
XYZxyz(7.9196, 5.6909, 26.2671)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37398E #8E8C37
analogous
#37648E #37398E #60378E
triadic
#37398E #8E3739 #398E37
tetradic
#37398E #8E3764 #8E8C37 #378E60
square
#37398E #8E3764 #8E8C37 #378E60
split-complementary
#37398E #8E6037 #648E37
monochromatic
#151636 #262762 #37398E #494CB9 #7678CA

Accessibility & contrast

On white

9.82
#37398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#37398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37398E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37398E#FFFFFF#000000##FFFFFF
##37398E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #37398e;
/* rgb */ color: rgb(55, 57, 142);
/* oklch */ color: oklch(39.5% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#776fb0',
    500: '#37398e',
    950: '#000000',
  },
}
SCSS
$custom: #37398e;
$custom-light: #776fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#37398e",
  "rgb": {
    "r": 55,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 238.621,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.13771,
    "h": 277
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#37398E
secondary
#B3B16E
accent
#D154D4
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #37398E

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

Preview Lab → · Contrast checker → · Palette generator →

#37398E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva