#37397F#37397F

#37397F is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.3% C 0.116 H 278.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#37397F
RGBrgb(55, 57, 127)
HSLhsl(238, 40%, 36%)
HSVhsv(238, 57%, 50%)
CMYKcmyk(56.7%, 55.1%, 0%, 50.2%)
CIE-LABlab(27.49, 20.80, -40.07)
CIE-LCHlch(27.49, 45.15, 297.43°)
OKLaboklab(38.32% 0.0165 -0.1146)
OKLCHoklch(38.32% 0.116 278.2)
XYZxyz(6.8682, 5.2703, 20.7299)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37397F #7F7D37
analogous
#375D7F #37397F #59377F
triadic
#37397F #7F3739 #397F37
tetradic
#37397F #7F375D #7F7D37 #377F59
square
#37397F #7F375D #7F7D37 #377F59
split-complementary
#37397F #7F5937 #5D7F37
monochromatic
#12132A #252654 #37397F #494CAA #7072C1

Accessibility & contrast

On white

10.22
#37397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#37397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37397F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37397F#FFFFFF#000000##FFFFFF
##37397F1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114481
Deuteranopia (green-blind)
#033E7E
Tritanopia (blue-blind)
#144956
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #37397f;
/* rgb */ color: rgb(55, 57, 127);
/* oklch */ color: oklch(38.3% 0.116 278.2);
Tailwind
colors: {
  custom: {
    50: '#746fa5',
    500: '#37397f',
    950: '#000000',
  },
}
SCSS
$custom: #37397f;
$custom-light: #746fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#37397f",
  "rgb": {
    "r": 55,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 238.333,
    "s": 39.56,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38315,
    "c": 0.11578,
    "h": 278.2
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#37397F
secondary
#AAA868
accent
#CC58CF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #37397F

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

Preview Lab → · Contrast checker → · Palette generator →

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