#3874C4#3874C4

#3874C4 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.9% C 0.139 H 256.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3874C4
RGBrgb(56, 116, 196)
HSLhsl(214, 56%, 49%)
HSVhsv(214, 71%, 77%)
CMYKcmyk(71.4%, 40.8%, 0%, 23.1%)
CIE-LABlab(48.65, 7.58, -47.44)
CIE-LCHlch(48.65, 48.04, 279.07°)
OKLaboklab(55.93% -0.0325 -0.1354)
OKLCHoklch(55.93% 0.139 256.5)
XYZxyz(17.8364, 17.3151, 54.6160)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874C4 #C48838
analogous
#38BAC4 #3874C4 #4238C4
triadic
#3874C4 #C43874 #74C438
tetradic
#3874C4 #C438BA #C48838 #38C442
square
#3874C4 #C438BA #C48838 #38C442
split-complementary
#3874C4 #C44238 #BAC438
monochromatic
#1D3C65 #2A5894 #3874C4 #6695D3 #96B6E1

Accessibility & contrast

On white

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

On black

4.46
#3874C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3874C4#FFFFFF#000000##FFFFFF
##3874C41.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC7
Deuteranopia (green-blind)
#386EC2
Tritanopia (blue-blind)
#008792
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3874c4;
/* rgb */ color: rgb(56, 116, 196);
/* oklch */ color: oklch(55.9% 0.139 256.5);
Tailwind
colors: {
  custom: {
    50: '#7f9bd6',
    500: '#3874c4',
    950: '#000000',
  },
}
SCSS
$custom: #3874c4;
$custom-light: #7f9bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3874c4",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 196
  },
  "hsl": {
    "h": 214.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.13924,
    "h": 256.5
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3874C4

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

Preview Lab → · Contrast checker → · Palette generator →

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