#374EA1#374EA1

#374EA1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.137 H 268.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#374EA1
RGBrgb(55, 78, 161)
HSLhsl(227, 49%, 42%)
HSVhsv(227, 66%, 63%)
CMYKcmyk(65.8%, 51.6%, 0%, 36.9%)
CIE-LABlab(35.66, 18.98, -47.74)
CIE-LCHlch(35.66, 51.37, 291.68°)
OKLaboklab(45.24% -0.003 -0.1369)
OKLCHoklch(45.24% 0.137 268.7)
XYZxyz(10.7308, 8.8332, 34.8508)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374EA1 #A18A37
analogous
#3783A1 #374EA1 #5537A1
triadic
#374EA1 #A1374E #4EA137
tetradic
#374EA1 #A13783 #A18A37 #37A155
square
#374EA1 #A13783 #A18A37 #37A155
split-complementary
#374EA1 #A15537 #83A137
monochromatic
#182246 #273873 #374EA1 #516AC4 #7F91D3

Accessibility & contrast

On white

7.59
#374EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#374EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374EA1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374EA1#FFFFFF#000000##FFFFFF
##374EA11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #374ea1;
/* rgb */ color: rgb(55, 78, 161);
/* oklch */ color: oklch(45.2% 0.137 268.7);
Tailwind
colors: {
  custom: {
    50: '#797fbd',
    500: '#374ea1',
    950: '#000000',
  },
}
SCSS
$custom: #374ea1;
$custom-light: #797fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#374ea1",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 226.981,
    "s": 49.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.13693,
    "h": 268.7
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#374EA1
secondary
#BDAE77
accent
#BB4FD9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #374EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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