#374E87#374E87

#374E87 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.099 H 265.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#374E87
RGBrgb(55, 78, 135)
HSLhsl(223, 42%, 37%)
HSVhsv(223, 59%, 53%)
CMYKcmyk(59.3%, 42.2%, 0%, 47.1%)
CIE-LABlab(34.00, 9.56, -34.61)
CIE-LCHlch(34.00, 35.91, 285.44°)
OKLaboklab(43.43% -0.0071 -0.0983)
OKLCHoklch(43.43% 0.099 265.9)
XYZxyz(8.6716, 8.0096, 24.0060)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374E87 #877037
analogous
#377687 #374E87 #483787
triadic
#374E87 #87374E #4E8737
tetradic
#374E87 #873776 #877037 #378748
square
#374E87 #873776 #877037 #378748
split-complementary
#374E87 #874837 #768737
monochromatic
#141C30 #25355C #374E87 #4967B2 #738BC6

Accessibility & contrast

On white

8.07
#374E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#374E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374E87
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374E87#FFFFFF#000000##FFFFFF
##374E871.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#2B4D86
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #374e87;
/* rgb */ color: rgb(55, 78, 135);
/* oklch */ color: oklch(43.4% 0.099 265.9);
Tailwind
colors: {
  custom: {
    50: '#757faa',
    500: '#374e87',
    950: '#000000',
  },
}
SCSS
$custom: #374e87;
$custom-light: #757faa;
$custom-dark: #000000;
JSON
{
  "hex": "#374e87",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 222.75,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.09858,
    "h": 265.9
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#374E87
secondary
#AF9B6B
accent
#AE56D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #374E87

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

Preview Lab → · Contrast checker → · Palette generator →

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