#374EA7#374EA7

#374EA7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.145 H 269.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#374EA7
RGBrgb(55, 78, 167)
HSLhsl(228, 50%, 44%)
HSVhsv(228, 67%, 65%)
CMYKcmyk(67.1%, 53.3%, 0%, 34.5%)
CIE-LABlab(36.08, 21.17, -50.65)
CIE-LCHlch(36.08, 54.90, 292.69°)
OKLaboklab(45.68% -0.0024 -0.1455)
OKLCHoklch(45.68% 0.146 269)
XYZxyz(11.2726, 9.0500, 37.7045)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374EA7 #A79037
analogous
#3786A7 #374EA7 #5837A7
triadic
#374EA7 #A7374E #4EA737
tetradic
#374EA7 #A73786 #A79037 #37A758
square
#374EA7 #A73786 #A79037 #37A758
split-complementary
#374EA7 #A75837 #86A737
monochromatic
#19234B #283879 #374EA7 #546CC7 #8294D6

Accessibility & contrast

On white

7.47
#374EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#374EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374EA7
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374EA7#FFFFFF#000000##FFFFFF
##374EA71.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AAA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #374ea7;
/* rgb */ color: rgb(55, 78, 167);
/* oklch */ color: oklch(45.7% 0.145 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b7fc2',
    500: '#374ea7',
    950: '#000000',
  },
}
SCSS
$custom: #374ea7;
$custom-light: #7b7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#374ea7",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 227.679,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.1455,
    "h": 269
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#374EA7
secondary
#C0B17A
accent
#BD4EDA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #374EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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