#374A97#374A97

#374A97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.128 H 270.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#374A97
RGBrgb(55, 74, 151)
HSLhsl(228, 47%, 40%)
HSVhsv(228, 64%, 59%)
CMYKcmyk(63.6%, 51%, 0%, 40.8%)
CIE-LABlab(33.86, 17.99, -44.60)
CIE-LCHlch(33.86, 48.09, 291.96°)
OKLaboklab(43.65% 0 -0.1277)
OKLCHoklch(43.65% 0.128 270)
XYZxyz(9.6084, 7.9433, 30.2990)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374A97 #978437
analogous
#377A97 #374A97 #543797
triadic
#374A97 #97374A #4A9737
tetradic
#374A97 #97377A #978437 #379754
square
#374A97 #97377A #978437 #379754
split-complementary
#374A97 #975437 #7A9737
monochromatic
#161E3D #27346A #374A97 #4D63BE #7A8BCF

Accessibility & contrast

On white

8.11
#374A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#374A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374A97
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374A97#FFFFFF#000000##FFFFFF
##374A971.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#084C95
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #374a97;
/* rgb */ color: rgb(55, 74, 151);
/* oklch */ color: oklch(43.7% 0.128 270.0);
Tailwind
colors: {
  custom: {
    50: '#787cb6',
    500: '#374a97',
    950: '#000000',
  },
}
SCSS
$custom: #374a97;
$custom-light: #787cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#374a97",
  "rgb": {
    "r": 55,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 228.125,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43654,
    "c": 0.12772,
    "h": 270
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#374A97
secondary
#B8AA72
accent
#BC52D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #374A97

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

Preview Lab → · Contrast checker → · Palette generator →

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