#374DC4#374DC4

#374DC4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.186 H 269.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#374DC4
RGBrgb(55, 77, 196)
HSLhsl(231, 56%, 49%)
HSVhsv(231, 72%, 77%)
CMYKcmyk(71.9%, 60.7%, 0%, 23.1%)
CIE-LABlab(38.03, 32.37, -64.58)
CIE-LCHlch(38.03, 72.24, 296.62°)
OKLaboklab(47.84% -0.0007 -0.1864)
OKLCHoklch(47.84% 0.186 269.8)
XYZxyz(14.1898, 10.1040, 53.4163)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#374DC4 #C4AE37
analogous
#3794C4 #374DC4 #6837C4
triadic
#374DC4 #C4374D #4DC437
tetradic
#374DC4 #C43794 #C4AE37 #37C468
square
#374DC4 #C43794 #C4AE37 #37C468
split-complementary
#374DC4 #C46837 #94C437
monochromatic
#1C2764 #2A3A94 #374DC4 #6576D4 #94A0E1

Accessibility & contrast

On white

6.95
#374DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#374DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #374DC4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##374DC4#FFFFFF#000000##FFFFFF
##374DC41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.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: #374dc4;
/* rgb */ color: rgb(55, 77, 196);
/* oklch */ color: oklch(47.8% 0.186 269.8);
Tailwind
colors: {
  custom: {
    50: '#817ed7',
    500: '#374dc4',
    950: '#000000',
  },
}
SCSS
$custom: #374dc4;
$custom-light: #817ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#374dc4",
  "rgb": {
    "r": 55,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 230.638,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.18645,
    "h": 269.8
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#374DC4
secondary
#CCC28B
accent
#C848DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #374DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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