#374B97#374B97

#374B97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.126 H 269.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#374B97
RGBrgb(55, 75, 151)
HSLhsl(228, 47%, 40%)
HSVhsv(228, 64%, 59%)
CMYKcmyk(63.6%, 50.3%, 0%, 40.8%)
CIE-LABlab(34.14, 17.32, -44.15)
CIE-LCHlch(34.14, 47.43, 291.42°)
OKLaboklab(43.87% -0.0011 -0.1264)
OKLCHoklch(43.87% 0.126 269.5)
XYZxyz(9.6757, 8.0779, 30.3215)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374B97 #978337
analogous
#377B97 #374B97 #533797
triadic
#374B97 #97374B #4B9737
tetradic
#374B97 #97377B #978337 #379753
square
#374B97 #97377B #978337 #379753
split-complementary
#374B97 #975337 #7B9737
monochromatic
#161E3D #27356A #374B97 #4D65BE #7A8CCF

Accessibility & contrast

On white

8.03
#374B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#374B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374B97
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374B97#FFFFFF#000000##FFFFFF
##374B971.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#0D4C95
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #374b97;
/* rgb */ color: rgb(55, 75, 151);
/* oklch */ color: oklch(43.9% 0.126 269.5);
Tailwind
colors: {
  custom: {
    50: '#787cb6',
    500: '#374b97',
    950: '#000000',
  },
}
SCSS
$custom: #374b97;
$custom-light: #787cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#374b97",
  "rgb": {
    "r": 55,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 227.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43867,
    "c": 0.12638,
    "h": 269.5
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#374B97
secondary
#B8A972
accent
#BB52D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #374B97

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

Preview Lab → · Contrast checker → · Palette generator →

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