#374CA4#374CA4

#374CA4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.144 H 269.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#374CA4
RGBrgb(55, 76, 164)
HSLhsl(228, 50%, 43%)
HSVhsv(228, 66%, 64%)
CMYKcmyk(66.5%, 53.7%, 0%, 35.7%)
CIE-LABlab(35.32, 21.40, -50.08)
CIE-LCHlch(35.32, 54.46, 293.13°)
OKLaboklab(45.05% -0.0008 -0.1438)
OKLCHoklch(45.05% 0.144 269.7)
XYZxyz(10.8586, 8.6604, 36.2142)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374CA4 #A48F37
analogous
#3783A4 #374CA4 #5837A4
triadic
#374CA4 #A4374C #4CA437
tetradic
#374CA4 #A43783 #A48F37 #37A458
square
#374CA4 #A43783 #A48F37 #37A458
split-complementary
#374CA4 #A45837 #83A437
monochromatic
#182248 #283776 #374CA4 #5369C5 #8191D5

Accessibility & contrast

On white

7.69
#374CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#374CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374CA4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374CA4#FFFFFF#000000##FFFFFF
##374CA41.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #374ca4;
/* rgb */ color: rgb(55, 76, 164);
/* oklch */ color: oklch(45.0% 0.144 269.7);
Tailwind
colors: {
  custom: {
    50: '#7a7dc0',
    500: '#374ca4',
    950: '#000000',
  },
}
SCSS
$custom: #374ca4;
$custom-light: #7a7dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#374ca4",
  "rgb": {
    "r": 55,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 228.44,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.14383,
    "h": 269.7
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#374CA4
secondary
#BEB179
accent
#BF4FD9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #374CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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