#374F78#374F78

#374F78 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.8% C 0.075 H 260.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#374F78
RGBrgb(55, 79, 120)
HSLhsl(218, 37%, 34%)
HSVhsv(218, 54%, 47%)
CMYKcmyk(54.2%, 34.2%, 0%, 52.9%)
CIE-LABlab(33.48, 3.65, -26.17)
CIE-LCHlch(33.48, 26.42, 277.94°)
OKLaboklab(42.76% -0.0121 -0.0737)
OKLCHoklch(42.76% 0.075 260.7)
XYZxyz(7.7606, 7.7597, 18.8545)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F78 #786037
analogous
#377078 #374F78 #403778
triadic
#374F78 #78374F #4F7837
tetradic
#374F78 #783770 #786037 #377840
square
#374F78 #783770 #786037 #377840
split-complementary
#374F78 #784037 #707837
monochromatic
#111824 #24334E #374F78 #4A6BA2 #6D8ABC

Accessibility & contrast

On white

8.23
#374F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#374F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374F78
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F78#FFFFFF#000000##FFFFFF
##374F781.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#17585E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #374f78;
/* rgb */ color: rgb(55, 79, 120);
/* oklch */ color: oklch(42.8% 0.075 260.7);
Tailwind
colors: {
  custom: {
    50: '#72809f',
    500: '#374f78',
    950: '#000000',
  },
}
SCSS
$custom: #374f78;
$custom-light: #72809f;
$custom-dark: #000000;
JSON
{
  "hex": "#374f78",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 217.846,
    "s": 37.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42756,
    "c": 0.07468,
    "h": 260.7
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#374F78
secondary
#A58E66
accent
#A35BCD
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #374F78

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

Preview Lab → · Contrast checker → · Palette generator →

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