#37398F#37398F

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

Color values

HEX#37398F
RGBrgb(55, 57, 143)
HSLhsl(239, 44%, 39%)
HSVhsv(239, 62%, 56%)
CMYKcmyk(61.5%, 60.1%, 0%, 43.9%)
CIE-LABlab(28.70, 26.42, -48.06)
CIE-LCHlch(28.70, 54.84, 298.79°)
OKLaboklab(39.6% 0.0169 -0.1381)
OKLCHoklch(39.6% 0.139 277)
XYZxyz(7.9950, 5.7210, 26.6642)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37398F #8F8D37
analogous
#37658F #37398F #61378F
triadic
#37398F #8F3739 #398F37
tetradic
#37398F #8F3765 #8F8D37 #378F61
square
#37398F #8F3765 #8F8D37 #378F61
split-complementary
#37398F #8F6137 #658F37
monochromatic
#151637 #262763 #37398F #4A4CB9 #7678CA

Accessibility & contrast

On white

9.79
#37398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37398F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37398F#FFFFFF#000000##FFFFFF
##37398F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #37398f;
/* rgb */ color: rgb(55, 57, 143);
/* oklch */ color: oklch(39.6% 0.139 277.0);
Tailwind
colors: {
  custom: {
    50: '#776fb0',
    500: '#37398f',
    950: '#000000',
  },
}
SCSS
$custom: #37398f;
$custom-light: #776fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#37398f",
  "rgb": {
    "r": 55,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 238.636,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39595,
    "c": 0.13914,
    "h": 277
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#37398F
secondary
#B3B26F
accent
#D154D4
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #37398F

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

Preview Lab → · Contrast checker → · Palette generator →

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