#374FA4#374FA4

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

Color values

HEX#374FA4
RGBrgb(55, 79, 164)
HSLhsl(227, 50%, 43%)
HSVhsv(227, 66%, 64%)
CMYKcmyk(66.5%, 51.8%, 0%, 35.7%)
CIE-LABlab(36.14, 19.42, -48.76)
CIE-LCHlch(36.14, 52.48, 291.72°)
OKLaboklab(45.67% -0.0037 -0.1399)
OKLCHoklch(45.67% 0.14 268.5)
XYZxyz(11.0701, 9.0835, 36.2847)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FA4 #A48C37
analogous
#3785A4 #374FA4 #5537A4
triadic
#374FA4 #A4374F #4FA437
tetradic
#374FA4 #A43785 #A48C37 #37A455
square
#374FA4 #A43785 #A48C37 #37A455
split-complementary
#374FA4 #A45537 #85A437
monochromatic
#182348 #283976 #374FA4 #536CC5 #8193D5

Accessibility & contrast

On white

7.45
#374FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#374FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374FA4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FA4#FFFFFF#000000##FFFFFF
##374FA41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5AA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #374fa4;
/* rgb */ color: rgb(55, 79, 164);
/* oklch */ color: oklch(45.7% 0.140 268.5);
Tailwind
colors: {
  custom: {
    50: '#7a7fc0',
    500: '#374fa4',
    950: '#000000',
  },
}
SCSS
$custom: #374fa4;
$custom-light: #7a7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#374fa4",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 226.789,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45667,
    "c": 0.13993,
    "h": 268.5
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #374FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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