#374AB7#374AB7

#374AB7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.173 H 270.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#374AB7
RGBrgb(55, 74, 183)
HSLhsl(231, 54%, 47%)
HSVhsv(231, 70%, 72%)
CMYKcmyk(69.9%, 59.6%, 0%, 28.2%)
CIE-LABlab(36.23, 29.61, -59.90)
CIE-LCHlch(36.23, 66.82, 296.30°)
OKLaboklab(46.18% 0.0016 -0.1727)
OKLCHoklch(46.18% 0.173 270.5)
XYZxyz(12.5687, 9.1274, 45.8900)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374AB7 #B7A437
analogous
#378AB7 #374AB7 #6437B7
triadic
#374AB7 #B7374A #4AB737
tetradic
#374AB7 #B7378A #B7A437 #37B764
square
#374AB7 #B7378A #B7A437 #37B764
split-complementary
#374AB7 #B76437 #8AB737
monochromatic
#1B2459 #293788 #374AB7 #5D6ECE #8C98DC

Accessibility & contrast

On white

7.43
#374AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#374AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374AB7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374AB7#FFFFFF#000000##FFFFFF
##374AB71.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #374ab7;
/* rgb */ color: rgb(55, 74, 183);
/* oklch */ color: oklch(46.2% 0.173 270.5);
Tailwind
colors: {
  custom: {
    50: '#7e7ccd',
    500: '#374ab7',
    950: '#000000',
  },
}
SCSS
$custom: #374ab7;
$custom-light: #7e7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#374ab7",
  "rgb": {
    "r": 55,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 231.094,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.17274,
    "h": 270.5
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#374AB7
secondary
#C7BD83
accent
#C74BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #374AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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