#374C97#374C97

#374C97 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.125 H 269.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#374C97
RGBrgb(55, 76, 151)
HSLhsl(227, 47%, 40%)
HSVhsv(227, 64%, 59%)
CMYKcmyk(63.6%, 49.7%, 0%, 40.8%)
CIE-LABlab(34.43, 16.66, -43.70)
CIE-LCHlch(34.43, 46.76, 290.87°)
OKLaboklab(44.08% -0.0021 -0.125)
OKLCHoklch(44.08% 0.125 269)
XYZxyz(9.7440, 8.2146, 30.3442)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374C97 #978237
analogous
#377C97 #374C97 #523797
triadic
#374C97 #97374C #4C9737
tetradic
#374C97 #97377C #978237 #379752
square
#374C97 #97377C #978237 #379752
split-complementary
#374C97 #975237 #7C9737
monochromatic
#161F3D #27356A #374C97 #4D66BE #7A8CCF

Accessibility & contrast

On white

7.95
#374C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#374C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374C97
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374C97#FFFFFF#000000##FFFFFF
##374C971.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#114D95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #374c97;
/* rgb */ color: rgb(55, 76, 151);
/* oklch */ color: oklch(44.1% 0.125 269.0);
Tailwind
colors: {
  custom: {
    50: '#787db6',
    500: '#374c97',
    950: '#000000',
  },
}
SCSS
$custom: #374c97;
$custom-light: #787db6;
$custom-dark: #000000;
JSON
{
  "hex": "#374c97",
  "rgb": {
    "r": 55,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 226.875,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4408,
    "c": 0.12506,
    "h": 269
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#374C97
secondary
#B8A872
accent
#B952D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #374C97

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

Preview Lab → · Contrast checker → · Palette generator →

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