#374EA8#374EA8

#374EA8 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.147 H 269.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#374EA8
RGBrgb(55, 78, 168)
HSLhsl(228, 51%, 44%)
HSVhsv(228, 67%, 66%)
CMYKcmyk(67.3%, 53.6%, 0%, 34.1%)
CIE-LABlab(36.15, 21.54, -51.13)
CIE-LCHlch(36.15, 55.48, 292.84°)
OKLaboklab(45.76% -0.0024 -0.1469)
OKLCHoklch(45.76% 0.147 269.1)
XYZxyz(11.3654, 9.0871, 38.1932)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374EA8 #A89137
analogous
#3786A8 #374EA8 #5837A8
triadic
#374EA8 #A8374E #4EA837
tetradic
#374EA8 #A83786 #A89137 #37A858
square
#374EA8 #A83786 #A89137 #37A858
split-complementary
#374EA8 #A85837 #86A837
monochromatic
#19234C #28397A #374EA8 #556CC7 #8394D6

Accessibility & contrast

On white

7.45
#374EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#374EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374EA8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374EA8#FFFFFF#000000##FFFFFF
##374EA81.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115AAB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #374ea8;
/* rgb */ color: rgb(55, 78, 168);
/* oklch */ color: oklch(45.8% 0.147 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fc2',
    500: '#374ea8',
    950: '#000000',
  },
}
SCSS
$custom: #374ea8;
$custom-light: #7b7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#374ea8",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 227.788,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.14691,
    "h": 269.1
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#374EA8
secondary
#C0B27B
accent
#BE4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #374EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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