#374FA1#374FA1

#374FA1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.136 H 268.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#374FA1
RGBrgb(55, 79, 161)
HSLhsl(226, 49%, 42%)
HSVhsv(226, 66%, 63%)
CMYKcmyk(65.8%, 50.9%, 0%, 36.9%)
CIE-LABlab(35.94, 18.32, -47.29)
CIE-LCHlch(35.94, 50.71, 291.18°)
OKLaboklab(45.45% -0.004 -0.1356)
OKLCHoklch(45.45% 0.136 268.3)
XYZxyz(10.8024, 8.9764, 34.8746)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FA1 #A18937
analogous
#3784A1 #374FA1 #5437A1
triadic
#374FA1 #A1374F #4FA137
tetradic
#374FA1 #A13784 #A18937 #37A154
square
#374FA1 #A13784 #A18937 #37A154
split-complementary
#374FA1 #A15437 #84A137
monochromatic
#182246 #273973 #374FA1 #516BC4 #7F92D3

Accessibility & contrast

On white

7.51
#374FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#374FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374FA1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FA1#FFFFFF#000000##FFFFFF
##374FA11.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #374fa1;
/* rgb */ color: rgb(55, 79, 161);
/* oklch */ color: oklch(45.4% 0.136 268.3);
Tailwind
colors: {
  custom: {
    50: '#797fbd',
    500: '#374fa1',
    950: '#000000',
  },
}
SCSS
$custom: #374fa1;
$custom-light: #797fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#374fa1",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 226.415,
    "s": 49.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.13563,
    "h": 268.3
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#374FA1
secondary
#BDAD77
accent
#BA4FD9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #374FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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