#374F87#374F87

#374F87 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.097 H 265.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#374F87
RGBrgb(55, 79, 135)
HSLhsl(222, 42%, 37%)
HSVhsv(222, 59%, 53%)
CMYKcmyk(59.3%, 41.5%, 0%, 47.1%)
CIE-LABlab(34.30, 8.90, -34.14)
CIE-LCHlch(34.30, 35.28, 284.61°)
OKLaboklab(43.66% -0.0083 -0.0969)
OKLCHoklch(43.66% 0.097 265.1)
XYZxyz(8.7432, 8.1528, 24.0299)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F87 #876F37
analogous
#377787 #374F87 #473787
triadic
#374F87 #87374F #4F8737
tetradic
#374F87 #873777 #876F37 #378747
square
#374F87 #873777 #876F37 #378747
split-complementary
#374F87 #874737 #778737
monochromatic
#141C30 #25365C #374F87 #4968B2 #738CC6

Accessibility & contrast

On white

7.98
#374F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#374F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374F87
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F87#FFFFFF#000000##FFFFFF
##374F871.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375589
Deuteranopia (green-blind)
#2D4D86
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #374f87;
/* rgb */ color: rgb(55, 79, 135);
/* oklch */ color: oklch(43.7% 0.097 265.1);
Tailwind
colors: {
  custom: {
    50: '#7580aa',
    500: '#374f87',
    950: '#000000',
  },
}
SCSS
$custom: #374f87;
$custom-light: #7580aa;
$custom-dark: #000000;
JSON
{
  "hex": "#374f87",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 222,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43662,
    "c": 0.09729,
    "h": 265.1
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#374F87
secondary
#AF9A6B
accent
#AD56D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #374F87

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

Preview Lab → · Contrast checker → · Palette generator →

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