#374797#374797

#374797 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.132 H 271.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#374797
RGBrgb(55, 71, 151)
HSLhsl(230, 47%, 40%)
HSVhsv(230, 64%, 59%)
CMYKcmyk(63.6%, 53%, 0%, 40.8%)
CIE-LABlab(33.03, 19.98, -45.94)
CIE-LCHlch(33.03, 50.10, 293.51°)
OKLaboklab(43.03% 0.003 -0.1317)
OKLCHoklch(43.03% 0.132 271.3)
XYZxyz(9.4128, 7.5523, 30.2339)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374797 #978737
analogous
#377797 #374797 #573797
triadic
#374797 #973747 #479737
tetradic
#374797 #973777 #978737 #379757
square
#374797 #973777 #978737 #379757
split-complementary
#374797 #975737 #779737
monochromatic
#161D3D #27326A #374797 #4D60BE #7A88CF

Accessibility & contrast

On white

8.36
#374797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#374797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374797
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374797#FFFFFF#000000##FFFFFF
##3747971.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #374797;
/* rgb */ color: rgb(55, 71, 151);
/* oklch */ color: oklch(43.0% 0.132 271.3);
Tailwind
colors: {
  custom: {
    50: '#7879b6',
    500: '#374797',
    950: '#000000',
  },
}
SCSS
$custom: #374797;
$custom-light: #7879b6;
$custom-dark: #000000;
JSON
{
  "hex": "#374797",
  "rgb": {
    "r": 55,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 230,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.13174,
    "h": 271.3
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#374797
secondary
#B8AC72
accent
#C052D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #374797

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

Preview Lab → · Contrast checker → · Palette generator →

#374797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva