#374FB8#374FB8

#374FB8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.168 H 269.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#374FB8
RGBrgb(55, 79, 184)
HSLhsl(229, 54%, 47%)
HSVhsv(229, 70%, 72%)
CMYKcmyk(70.1%, 57.1%, 0%, 27.8%)
CIE-LABlab(37.60, 26.73, -58.26)
CIE-LCHlch(37.60, 64.10, 294.64°)
OKLaboklab(47.22% -0.0023 -0.1679)
OKLCHoklch(47.22% 0.168 269.2)
XYZxyz(13.0203, 9.8636, 46.5558)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FB8 #B8A037
analogous
#3790B8 #374FB8 #6037B8
triadic
#374FB8 #B8374F #4FB837
tetradic
#374FB8 #B83790 #B8A037 #37B860
square
#374FB8 #B83790 #B8A037 #37B860
split-complementary
#374FB8 #B86037 #90B837
monochromatic
#1B275A #293B89 #374FB8 #5D73CF #8D9CDD

Accessibility & contrast

On white

7.06
#374FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#374FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374FB8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FB8#FFFFFF#000000##FFFFFF
##374FB81.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #374fb8;
/* rgb */ color: rgb(55, 79, 184);
/* oklch */ color: oklch(47.2% 0.168 269.2);
Tailwind
colors: {
  custom: {
    50: '#7e80ce',
    500: '#374fb8',
    950: '#000000',
  },
}
SCSS
$custom: #374fb8;
$custom-light: #7e80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#374fb8",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 228.837,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.16788,
    "h": 269.2
  },
  "luminance": 0.09865
}

Semantic roles & 50–950 ramp

primary
#374FB8
secondary
#C7BB84
accent
#C24ADD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #374FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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