#3874C7#3874C7

#3874C7 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 56.1% C 0.143 H 257.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3874C7
RGBrgb(56, 116, 199)
HSLhsl(215, 56%, 50%)
HSVhsv(215, 72%, 78%)
CMYKcmyk(71.9%, 41.7%, 0%, 22%)
CIE-LABlab(48.83, 8.67, -48.88)
CIE-LCHlch(48.83, 49.65, 280.06°)
OKLaboklab(56.12% -0.0318 -0.1396)
OKLCHoklch(56.12% 0.143 257.2)
XYZxyz(18.1813, 17.4531, 56.4323)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874C7 #C78B38
analogous
#38BBC7 #3874C7 #4438C7
triadic
#3874C7 #C73874 #74C738
tetradic
#3874C7 #C738BB #C78B38 #38C744
square
#3874C7 #C738BB #C78B38 #38C744
split-complementary
#3874C7 #C74438 #BBC738
monochromatic
#1D3C67 #2B5897 #3874C7 #6895D4 #98B7E2

Accessibility & contrast

On white

4.68
#3874C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3874C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874C7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874C7#FFFFFF#000000##FFFFFF
##3874C71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCA
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3874c7;
/* rgb */ color: rgb(56, 116, 199);
/* oklch */ color: oklch(56.1% 0.143 257.2);
Tailwind
colors: {
  custom: {
    50: '#809bd8',
    500: '#3874c7',
    950: '#000000',
  },
}
SCSS
$custom: #3874c7;
$custom-light: #809bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3874c7",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 199
  },
  "hsl": {
    "h": 214.825,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.14323,
    "h": 257.2
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#3874C7
secondary
#CDB38D
accent
#A048DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3874C7

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

Preview Lab → · Contrast checker → · Palette generator →

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