#37398D#37398D

#37398D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.136 H 277.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#37398D
RGBrgb(55, 57, 141)
HSLhsl(239, 44%, 38%)
HSVhsv(239, 61%, 55%)
CMYKcmyk(61%, 59.6%, 0%, 44.7%)
CIE-LABlab(28.54, 25.71, -47.08)
CIE-LCHlch(28.54, 53.65, 298.64°)
OKLaboklab(39.43% 0.0169 -0.1352)
OKLCHoklch(39.43% 0.136 277.1)
XYZxyz(7.8448, 5.6610, 25.8734)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37398D #8D8B37
analogous
#37648D #37398D #60378D
triadic
#37398D #8D3739 #398D37
tetradic
#37398D #8D3764 #8D8B37 #378D60
square
#37398D #8D3764 #8D8B37 #378D60
split-complementary
#37398D #8D6037 #648D37
monochromatic
#151535 #262761 #37398D #494CB8 #7577C9

Accessibility & contrast

On white

9.85
#37398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#37398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37398D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37398D#FFFFFF#000000##FFFFFF
##37398D1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37398d;
/* rgb */ color: rgb(55, 57, 141);
/* oklch */ color: oklch(39.4% 0.136 277.1);
Tailwind
colors: {
  custom: {
    50: '#776faf',
    500: '#37398d',
    950: '#000000',
  },
}
SCSS
$custom: #37398d;
$custom-light: #776faf;
$custom-dark: #000000;
JSON
{
  "hex": "#37398d",
  "rgb": {
    "r": 55,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 238.605,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.13628,
    "h": 277.1
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #37398D

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

Preview Lab → · Contrast checker → · Palette generator →

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