#374FC5#374FC5

#374FC5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.185 H 269.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#374FC5
RGBrgb(55, 79, 197)
HSLhsl(230, 56%, 49%)
HSVhsv(230, 72%, 77%)
CMYKcmyk(72.1%, 59.9%, 0%, 22.7%)
CIE-LABlab(38.61, 31.45, -64.22)
CIE-LCHlch(38.61, 71.50, 296.09°)
OKLaboklab(48.29% -0.0021 -0.1853)
OKLCHoklch(48.29% 0.185 269.3)
XYZxyz(14.4461, 10.4339, 54.0651)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374FC5 #C5AD37
analogous
#3796C5 #374FC5 #6637C5
triadic
#374FC5 #C5374F #4FC537
tetradic
#374FC5 #C53796 #C5AD37 #37C566
square
#374FC5 #C53796 #C5AD37 #37C566
split-complementary
#374FC5 #C56637 #96C537
monochromatic
#1C2965 #2A3C95 #374FC5 #6578D4 #95A2E1

Accessibility & contrast

On white

6.80
#374FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#374FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #374FC5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374FC5#FFFFFF#000000##FFFFFF
##374FC51.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #374fc5;
/* rgb */ color: rgb(55, 79, 197);
/* oklch */ color: oklch(48.3% 0.185 269.3);
Tailwind
colors: {
  custom: {
    50: '#8180d7',
    500: '#374fc5',
    950: '#000000',
  },
}
SCSS
$custom: #374fc5;
$custom-light: #8180d7;
$custom-dark: #000000;
JSON
{
  "hex": "#374fc5",
  "rgb": {
    "r": 55,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 229.859,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48293,
    "c": 0.18536,
    "h": 269.3
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #374FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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