#3874BC#3874BC

#3874BC is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.4% C 0.129 H 254.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3874BC
RGBrgb(56, 116, 188)
HSLhsl(213, 54%, 48%)
HSVhsv(213, 70%, 74%)
CMYKcmyk(70.2%, 38.3%, 0%, 26.3%)
CIE-LABlab(48.21, 4.67, -43.54)
CIE-LCHlch(48.21, 43.79, 276.12°)
OKLaboklab(55.44% -0.0343 -0.124)
OKLCHoklch(55.44% 0.129 254.5)
XYZxyz(16.9500, 16.9606, 49.9476)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874BC #BC8038
analogous
#38B6BC #3874BC #3E38BC
triadic
#3874BC #BC3874 #74BC38
tetradic
#3874BC #BC38B6 #BC8038 #38BC3E
square
#3874BC #BC38B6 #BC8038 #38BC3E
split-complementary
#3874BC #BC3E38 #B6BC38
monochromatic
#1C3A5E #2A578D #3874BC #6194D0 #90B4DE

Accessibility & contrast

On white

4.78
#3874BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3874BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874BC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874BC#FFFFFF#000000##FFFFFF
##3874BC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#00858F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3874bc;
/* rgb */ color: rgb(56, 116, 188);
/* oklch */ color: oklch(55.4% 0.129 254.5);
Tailwind
colors: {
  custom: {
    50: '#7e9bd0',
    500: '#3874bc',
    950: '#000000',
  },
}
SCSS
$custom: #3874bc;
$custom-light: #7e9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3874bc",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 212.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55441,
    "c": 0.12863,
    "h": 254.5
  },
  "luminance": 0.16962
}

Semantic roles & 50–950 ramp

primary
#3874BC
secondary
#C9AB87
accent
#9B4ADD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3874BC

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

Preview Lab → · Contrast checker → · Palette generator →

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