#374F71#374F71

#374F71 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.4% C 0.064 H 257.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#374F71
RGBrgb(55, 79, 113)
HSLhsl(215, 35%, 33%)
HSVhsv(215, 51%, 44%)
CMYKcmyk(51.3%, 30.1%, 0%, 55.7%)
CIE-LABlab(33.13, 1.28, -22.35)
CIE-LCHlch(33.13, 22.39, 273.27°)
OKLaboklab(42.37% -0.0143 -0.0626)
OKLCHoklch(42.37% 0.064 257.1)
XYZxyz(7.3512, 7.5959, 16.6984)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F71 #715937
analogous
#376C71 #374F71 #3C3771
triadic
#374F71 #71374F #4F7137
tetradic
#374F71 #71376C #715937 #37713C
square
#374F71 #71376C #715937 #37713C
split-complementary
#374F71 #713C37 #6C7137
monochromatic
#0F151F #233248 #374F71 #4B6C9A #6B8BB7

Accessibility & contrast

On white

8.34
#374F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#374F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374F71
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F71#FFFFFF#000000##FFFFFF
##374F711.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#1D565B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #374f71;
/* rgb */ color: rgb(55, 79, 113);
/* oklch */ color: oklch(42.4% 0.064 257.1);
Tailwind
colors: {
  custom: {
    50: '#71809a',
    500: '#374f71',
    950: '#000000',
  },
}
SCSS
$custom: #374f71;
$custom-light: #71809a;
$custom-dark: #000000;
JSON
{
  "hex": "#374f71",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 215.172,
    "s": 34.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.06424,
    "h": 257.1
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#374F71
secondary
#A08764
accent
#9D5DCB
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #374F71

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

Preview Lab → · Contrast checker → · Palette generator →

#374F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva