#374FA7#374FA7

#374FA7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.144 H 268.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#374FA7
RGBrgb(55, 79, 167)
HSLhsl(227, 50%, 44%)
HSVhsv(227, 67%, 65%)
CMYKcmyk(67.1%, 52.7%, 0%, 34.5%)
CIE-LABlab(36.35, 20.52, -50.21)
CIE-LCHlch(36.35, 54.24, 292.23°)
OKLaboklab(45.89% -0.0034 -0.1442)
OKLCHoklch(45.89% 0.144 268.7)
XYZxyz(11.3442, 9.1931, 37.7283)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FA7 #A78F37
analogous
#3787A7 #374FA7 #5737A7
triadic
#374FA7 #A7374F #4FA737
tetradic
#374FA7 #A73787 #A78F37 #37A757
square
#374FA7 #A73787 #A78F37 #37A757
split-complementary
#374FA7 #A75737 #87A737
monochromatic
#19234B #283979 #374FA7 #546DC7 #8294D6

Accessibility & contrast

On white

7.40
#374FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#374FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374FA7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FA7#FFFFFF#000000##FFFFFF
##374FA71.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #374fa7;
/* rgb */ color: rgb(55, 79, 167);
/* oklch */ color: oklch(45.9% 0.144 268.7);
Tailwind
colors: {
  custom: {
    50: '#7b7fc2',
    500: '#374fa7',
    950: '#000000',
  },
}
SCSS
$custom: #374fa7;
$custom-light: #7b7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#374fa7",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 227.143,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45892,
    "c": 0.1442,
    "h": 268.7
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#374FA7
secondary
#C0B17A
accent
#BC4EDA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #374FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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