#374F97#374F97

#374F97 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.121 H 267.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#374F97
RGBrgb(55, 79, 151)
HSLhsl(225, 47%, 40%)
HSVhsv(225, 64%, 59%)
CMYKcmyk(63.6%, 47.7%, 0%, 40.8%)
CIE-LABlab(35.28, 14.67, -42.33)
CIE-LCHlch(35.28, 44.80, 289.11°)
OKLaboklab(44.73% -0.0053 -0.121)
OKLCHoklch(44.73% 0.121 267.5)
XYZxyz(9.9555, 8.6377, 30.4148)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374F97 #977F37
analogous
#377F97 #374F97 #4F3797
triadic
#374F97 #97374F #4F9737
tetradic
#374F97 #97377F #977F37 #37974F
square
#374F97 #97377F #977F37 #37974F
split-complementary
#374F97 #974F37 #7F9737
monochromatic
#16203D #27386A #374F97 #4D69BE #7A8FCF

Accessibility & contrast

On white

7.70
#374F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#374F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374F97
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374F97#FFFFFF#000000##FFFFFF
##374F971.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#1B4F95
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #374f97;
/* rgb */ color: rgb(55, 79, 151);
/* oklch */ color: oklch(44.7% 0.121 267.5);
Tailwind
colors: {
  custom: {
    50: '#777fb6',
    500: '#374f97',
    950: '#000000',
  },
}
SCSS
$custom: #374f97;
$custom-light: #777fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#374f97",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 225,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.1211,
    "h": 267.5
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#374F97
secondary
#B8A672
accent
#B552D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #374F97

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

Preview Lab → · Contrast checker → · Palette generator →

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