#3874B7#3874B7

#3874B7 is a mid, vivid cyan. Relative luminance 0.168; OKLCH L 55.1% C 0.122 H 253.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3874B7
RGBrgb(56, 116, 183)
HSLhsl(212, 53%, 47%)
HSVhsv(212, 69%, 72%)
CMYKcmyk(69.4%, 36.6%, 0%, 28.2%)
CIE-LABlab(47.94, 2.86, -41.08)
CIE-LCHlch(47.94, 41.17, 273.99°)
OKLaboklab(55.14% -0.0356 -0.1167)
OKLCHoklch(55.14% 0.122 253.1)
XYZxyz(16.4204, 16.7487, 47.1580)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874B7 #B77B38
analogous
#38B3B7 #3874B7 #3C38B7
triadic
#3874B7 #B73874 #74B738
tetradic
#3874B7 #B738B3 #B77B38 #38B73C
square
#3874B7 #B738B3 #B77B38 #38B73C
split-complementary
#3874B7 #B73C38 #B3B738
monochromatic
#1B3959 #2A5688 #3874B7 #5E93CE #8DB3DC

Accessibility & contrast

On white

4.83
#3874B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3874B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874B7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874B7#FFFFFF#000000##FFFFFF
##3874B71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5678BA
Deuteranopia (green-blind)
#436CB6
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3874b7;
/* rgb */ color: rgb(56, 116, 183);
/* oklch */ color: oklch(55.1% 0.122 253.1);
Tailwind
colors: {
  custom: {
    50: '#7d9bcd',
    500: '#3874b7',
    950: '#000000',
  },
}
SCSS
$custom: #3874b7;
$custom-light: #7d9bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3874b7",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 183
  },
  "hsl": {
    "h": 211.654,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55144,
    "c": 0.12205,
    "h": 253.1
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#3874B7
secondary
#C7A784
accent
#984BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3874B7

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

Preview Lab → · Contrast checker → · Palette generator →

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