#37397D#37397D

#37397D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.2% C 0.113 H 278.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#37397D
RGBrgb(55, 57, 125)
HSLhsl(238, 39%, 35%)
HSVhsv(238, 56%, 49%)
CMYKcmyk(56%, 54.4%, 0%, 51%)
CIE-LABlab(27.35, 20.10, -39.05)
CIE-LCHlch(27.35, 43.91, 297.24°)
OKLaboklab(38.16% 0.0164 -0.1116)
OKLCHoklch(38.16% 0.113 278.3)
XYZxyz(6.7392, 5.2187, 20.0503)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37397D #7D7B37
analogous
#375C7D #37397D #58377D
triadic
#37397D #7D3739 #397D37
tetradic
#37397D #7D375C #7D7B37 #377D58
square
#37397D #7D375C #7D7B37 #377D58
split-complementary
#37397D #7D5837 #5C7D37
monochromatic
#121228 #242652 #37397D #4A4CA7 #6F71C0

Accessibility & contrast

On white

10.27
#37397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#37397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37397D
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37397D#FFFFFF#000000##FFFFFF
##37397D1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437F
Deuteranopia (green-blind)
#083E7C
Tritanopia (blue-blind)
#164855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #37397d;
/* rgb */ color: rgb(55, 57, 125);
/* oklch */ color: oklch(38.2% 0.113 278.3);
Tailwind
colors: {
  custom: {
    50: '#746fa3',
    500: '#37397d',
    950: '#000000',
  },
}
SCSS
$custom: #37397d;
$custom-light: #746fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#37397d",
  "rgb": {
    "r": 55,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 238.286,
    "s": 38.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.11277,
    "h": 278.3
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#37397D
secondary
#A8A667
accent
#CB59CF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #37397D

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

Preview Lab → · Contrast checker → · Palette generator →

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