#374FB7#374FB7

#374FB7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.167 H 269.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#374FB7
RGBrgb(55, 79, 183)
HSLhsl(229, 54%, 47%)
HSVhsv(229, 70%, 72%)
CMYKcmyk(69.9%, 56.8%, 0%, 28.2%)
CIE-LABlab(37.52, 26.37, -57.80)
CIE-LCHlch(37.52, 63.53, 294.52°)
OKLaboklab(47.14% -0.0024 -0.1665)
OKLCHoklch(47.14% 0.167 269.2)
XYZxyz(12.9158, 9.8218, 46.0057)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FB7 #B79F37
analogous
#378FB7 #374FB7 #5F37B7
triadic
#374FB7 #B7374F #4FB737
tetradic
#374FB7 #B7378F #B79F37 #37B75F
square
#374FB7 #B7378F #B79F37 #37B75F
split-complementary
#374FB7 #B75F37 #8FB737
monochromatic
#1B2659 #293B88 #374FB7 #5D72CE #8C9BDC

Accessibility & contrast

On white

7.08
#374FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#374FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374FB7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FB7#FFFFFF#000000##FFFFFF
##374FB71.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #374fb7;
/* rgb */ color: rgb(55, 79, 183);
/* oklch */ color: oklch(47.1% 0.167 269.2);
Tailwind
colors: {
  custom: {
    50: '#7e80cd',
    500: '#374fb7',
    950: '#000000',
  },
}
SCSS
$custom: #374fb7;
$custom-light: #7e80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#374fb7",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 228.75,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4714,
    "c": 0.16651,
    "h": 269.2
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

primary
#374FB7
secondary
#C7BA83
accent
#C24BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #374FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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