#374CC4#374CC4

#374CC4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.188 H 270.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#374CC4
RGBrgb(55, 76, 196)
HSLhsl(231, 56%, 49%)
HSVhsv(231, 72%, 77%)
CMYKcmyk(71.9%, 61.2%, 0%, 23.1%)
CIE-LABlab(37.78, 33.00, -64.99)
CIE-LCHlch(37.78, 72.89, 296.92°)
OKLaboklab(47.65% 0 -0.1876)
OKLCHoklch(47.65% 0.188 270)
XYZxyz(14.1204, 9.9652, 53.3932)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374CC4 #C4AF37
analogous
#3793C4 #374CC4 #6937C4
triadic
#374CC4 #C4374C #4CC437
tetradic
#374CC4 #C43793 #C4AF37 #37C469
square
#374CC4 #C43793 #C4AF37 #37C469
split-complementary
#374CC4 #C46937 #93C437
monochromatic
#1C2764 #2A3994 #374CC4 #6575D4 #94A0E1

Accessibility & contrast

On white

7.02
#374CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#374CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #374CC4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374CC4#FFFFFF#000000##FFFFFF
##374CC41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #374cc4;
/* rgb */ color: rgb(55, 76, 196);
/* oklch */ color: oklch(47.7% 0.188 270.0);
Tailwind
colors: {
  custom: {
    50: '#817ed7',
    500: '#374cc4',
    950: '#000000',
  },
}
SCSS
$custom: #374cc4;
$custom-light: #817ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#374cc4",
  "rgb": {
    "r": 55,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 231.064,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.18765,
    "h": 270
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#374CC4
secondary
#CCC28B
accent
#C948DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #374CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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