#374F8F#374F8F

#374F8F is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.109 H 266.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#374F8F
RGBrgb(55, 79, 143)
HSLhsl(224, 44%, 39%)
HSVhsv(224, 62%, 56%)
CMYKcmyk(61.5%, 44.8%, 0%, 43.9%)
CIE-LABlab(34.78, 11.77, -38.27)
CIE-LCHlch(34.78, 40.04, 287.09°)
OKLaboklab(44.18% -0.0066 -0.1091)
OKLCHoklch(44.18% 0.109 266.5)
XYZxyz(9.3278, 8.3866, 27.1085)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F8F #8F7737
analogous
#377B8F #374F8F #4B378F
triadic
#374F8F #8F374F #4F8F37
tetradic
#374F8F #8F377B #8F7737 #378F4B
square
#374F8F #8F377B #8F7737 #378F4B
split-complementary
#374F8F #8F4B37 #7B8F37
monochromatic
#151E37 #263763 #374F8F #4A68B9 #768DCA

Accessibility & contrast

On white

7.84
#374F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#374F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374F8F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F8F#FFFFFF#000000##FFFFFF
##374F8F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #374f8f;
/* rgb */ color: rgb(55, 79, 143);
/* oklch */ color: oklch(44.2% 0.109 266.5);
Tailwind
colors: {
  custom: {
    50: '#7680b0',
    500: '#374f8f',
    950: '#000000',
  },
}
SCSS
$custom: #374f8f;
$custom-light: #7680b0;
$custom-dark: #000000;
JSON
{
  "hex": "#374f8f",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 223.636,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.10927,
    "h": 266.5
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#374F8F
secondary
#B3A06F
accent
#B154D4
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #374F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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