#3874C6#3874C6

#3874C6 is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 56.1% C 0.142 H 257.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3874C6
RGBrgb(56, 116, 198)
HSLhsl(215, 56%, 50%)
HSVhsv(215, 72%, 78%)
CMYKcmyk(71.7%, 41.4%, 0%, 22.4%)
CIE-LABlab(48.77, 8.31, -48.40)
CIE-LCHlch(48.77, 49.11, 279.74°)
OKLaboklab(56.06% -0.032 -0.1382)
OKLCHoklch(56.06% 0.142 257)
XYZxyz(18.0656, 17.4068, 55.8229)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874C6 #C68A38
analogous
#38BBC6 #3874C6 #4338C6
triadic
#3874C6 #C63874 #74C638
tetradic
#3874C6 #C638BB #C68A38 #38C643
square
#3874C6 #C638BB #C68A38 #38C643
split-complementary
#3874C6 #C64338 #BBC638
monochromatic
#1D3C67 #2B5896 #3874C6 #6795D4 #97B6E2

Accessibility & contrast

On white

4.69
#3874C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#3874C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874C6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874C6#FFFFFF#000000##FFFFFF
##3874C61.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7BC9
Deuteranopia (green-blind)
#356EC4
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3874c6;
/* rgb */ color: rgb(56, 116, 198);
/* oklch */ color: oklch(56.1% 0.142 257.0);
Tailwind
colors: {
  custom: {
    50: '#809bd8',
    500: '#3874c6',
    950: '#000000',
  },
}
SCSS
$custom: #3874c6;
$custom-light: #809bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3874c6",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 198
  },
  "hsl": {
    "h": 214.648,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.14189,
    "h": 257
  },
  "luminance": 0.17409
}

Semantic roles & 50–950 ramp

primary
#3874C6
secondary
#CDB28D
accent
#A049DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3874C6

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

Preview Lab → · Contrast checker → · Palette generator →

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