#374FA8#374FA8

#374FA8 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.146 H 268.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#374FA8
RGBrgb(55, 79, 168)
HSLhsl(227, 51%, 44%)
HSVhsv(227, 67%, 66%)
CMYKcmyk(67.3%, 53%, 0%, 34.1%)
CIE-LABlab(36.42, 20.88, -50.69)
CIE-LCHlch(36.42, 54.83, 292.39°)
OKLaboklab(45.97% -0.0033 -0.1456)
OKLCHoklch(45.97% 0.146 268.7)
XYZxyz(11.4370, 9.2303, 38.2171)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FA8 #A89037
analogous
#3787A8 #374FA8 #5737A8
triadic
#374FA8 #A8374F #4FA837
tetradic
#374FA8 #A83787 #A89037 #37A857
square
#374FA8 #A83787 #A89037 #37A857
split-complementary
#374FA8 #A85737 #87A837
monochromatic
#19244C #28397A #374FA8 #556DC7 #8395D6

Accessibility & contrast

On white

7.38
#374FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#374FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374FA8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FA8#FFFFFF#000000##FFFFFF
##374FA81.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165BAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #374fa8;
/* rgb */ color: rgb(55, 79, 168);
/* oklch */ color: oklch(46.0% 0.146 268.7);
Tailwind
colors: {
  custom: {
    50: '#7b7fc2',
    500: '#374fa8',
    950: '#000000',
  },
}
SCSS
$custom: #374fa8;
$custom-light: #7b7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#374fa8",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 227.257,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.14562,
    "h": 268.7
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#374FA8
secondary
#C0B17B
accent
#BC4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #374FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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