#374EA3#374EA3

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

Color values

HEX#374EA3
RGBrgb(55, 78, 163)
HSLhsl(227, 50%, 43%)
HSVhsv(227, 66%, 64%)
CMYKcmyk(66.3%, 52.1%, 0%, 36.1%)
CIE-LABlab(35.80, 19.71, -48.71)
CIE-LCHlch(35.80, 52.55, 292.03°)
OKLaboklab(45.38% -0.0028 -0.1398)
OKLCHoklch(45.38% 0.14 268.9)
XYZxyz(10.9085, 8.9043, 35.7871)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374EA3 #A38C37
analogous
#3784A3 #374EA3 #5637A3
triadic
#374EA3 #A3374E #4EA337
tetradic
#374EA3 #A33784 #A38C37 #37A356
square
#374EA3 #A33784 #A38C37 #37A356
split-complementary
#374EA3 #A35637 #84A337
monochromatic
#182247 #283875 #374EA3 #526BC5 #8092D4

Accessibility & contrast

On white

7.55
#374EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#374EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374EA3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374EA3#FFFFFF#000000##FFFFFF
##374EA31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #374ea3;
/* rgb */ color: rgb(55, 78, 163);
/* oklch */ color: oklch(45.4% 0.140 268.9);
Tailwind
colors: {
  custom: {
    50: '#7a7fbf',
    500: '#374ea3',
    950: '#000000',
  },
}
SCSS
$custom: #374ea3;
$custom-light: #7a7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#374ea3",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 227.222,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.1398,
    "h": 268.9
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #374EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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