#3874C5#3874C5

#3874C5 is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 56.0% C 0.141 H 256.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3874C5
RGBrgb(56, 116, 197)
HSLhsl(214, 56%, 50%)
HSVhsv(214, 72%, 77%)
CMYKcmyk(71.6%, 41.1%, 0%, 22.7%)
CIE-LABlab(48.71, 7.94, -47.92)
CIE-LCHlch(48.71, 48.57, 279.41°)
OKLaboklab(55.99% -0.0322 -0.1368)
OKLCHoklch(55.99% 0.141 256.7)
XYZxyz(17.9506, 17.3608, 55.2174)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874C5 #C58938
analogous
#38BBC5 #3874C5 #4338C5
triadic
#3874C5 #C53874 #74C538
tetradic
#3874C5 #C538BB #C58938 #38C543
square
#3874C5 #C538BB #C58938 #38C543
split-complementary
#3874C5 #C54338 #BBC538
monochromatic
#1D3C66 #2A5895 #3874C5 #6795D4 #96B6E1

Accessibility & contrast

On white

4.70
#3874C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3874C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874C5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874C5#FFFFFF#000000##FFFFFF
##3874C51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC8
Deuteranopia (green-blind)
#376EC3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3874c5;
/* rgb */ color: rgb(56, 116, 197);
/* oklch */ color: oklch(56.0% 0.141 256.7);
Tailwind
colors: {
  custom: {
    50: '#809bd7',
    500: '#3874c5',
    950: '#000000',
  },
}
SCSS
$custom: #3874c5;
$custom-light: #809bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3874c5",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 197
  },
  "hsl": {
    "h": 214.468,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.14057,
    "h": 256.7
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#3874C5
secondary
#CDB18C
accent
#9F49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3874C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3874C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva