#374EA4#374EA4

#374EA4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.141 H 268.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#374EA4
RGBrgb(55, 78, 164)
HSLhsl(227, 50%, 43%)
HSVhsv(227, 66%, 64%)
CMYKcmyk(66.5%, 52.4%, 0%, 35.7%)
CIE-LABlab(35.87, 20.08, -49.20)
CIE-LCHlch(35.87, 53.14, 292.20°)
OKLaboklab(45.46% -0.0027 -0.1412)
OKLCHoklch(45.46% 0.141 268.9)
XYZxyz(10.9985, 8.9403, 36.2608)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374EA4 #A48D37
analogous
#3785A4 #374EA4 #5637A4
triadic
#374EA4 #A4374E #4EA437
tetradic
#374EA4 #A43785 #A48D37 #37A456
square
#374EA4 #A43785 #A48D37 #37A456
split-complementary
#374EA4 #A45637 #85A437
monochromatic
#182248 #283876 #374EA4 #536BC5 #8192D5

Accessibility & contrast

On white

7.53
#374EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#374EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374EA4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374EA4#FFFFFF#000000##FFFFFF
##374EA41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #374ea4;
/* rgb */ color: rgb(55, 78, 164);
/* oklch */ color: oklch(45.5% 0.141 268.9);
Tailwind
colors: {
  custom: {
    50: '#7a7fc0',
    500: '#374ea4',
    950: '#000000',
  },
}
SCSS
$custom: #374ea4;
$custom-light: #7a7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#374ea4",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 227.339,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45459,
    "c": 0.14123,
    "h": 268.9
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#374EA4
secondary
#BEAF79
accent
#BC4FD9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #374EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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