#374EC5#374EC5

#374EC5 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.187 H 269.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#374EC5
RGBrgb(55, 78, 197)
HSLhsl(230, 56%, 49%)
HSVhsv(230, 72%, 77%)
CMYKcmyk(72.1%, 60.4%, 0%, 22.7%)
CIE-LABlab(38.36, 32.09, -64.63)
CIE-LCHlch(38.36, 72.15, 296.40°)
OKLaboklab(48.11% -0.0014 -0.1866)
OKLCHoklch(48.11% 0.187 269.6)
XYZxyz(14.3745, 10.2907, 54.0412)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374EC5 #C5AE37
analogous
#3795C5 #374EC5 #6737C5
triadic
#374EC5 #C5374E #4EC537
tetradic
#374EC5 #C53795 #C5AE37 #37C567
square
#374EC5 #C53795 #C5AE37 #37C567
split-complementary
#374EC5 #C56737 #95C537
monochromatic
#1C2865 #2A3B95 #374EC5 #6577D4 #95A1E1

Accessibility & contrast

On white

6.87
#374EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#374EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #374EC5
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374EC5#FFFFFF#000000##FFFFFF
##374EC51.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #374ec5;
/* rgb */ color: rgb(55, 78, 197);
/* oklch */ color: oklch(48.1% 0.187 269.6);
Tailwind
colors: {
  custom: {
    50: '#817fd8',
    500: '#374ec5',
    950: '#000000',
  },
}
SCSS
$custom: #374ec5;
$custom-light: #817fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#374ec5",
  "rgb": {
    "r": 55,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 230.282,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.18657,
    "h": 269.6
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#374EC5
secondary
#CDC28B
accent
#C748E0
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #374EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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