#3874B5#3874B5

#3874B5 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 55.0% C 0.119 H 252.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3874B5
RGBrgb(56, 116, 181)
HSLhsl(211, 53%, 46%)
HSVhsv(211, 69%, 71%)
CMYKcmyk(69.1%, 35.9%, 0%, 29%)
CIE-LABlab(47.84, 2.14, -40.08)
CIE-LCHlch(47.84, 40.14, 273.06°)
OKLaboklab(55.03% -0.0361 -0.1138)
OKLCHoklch(55.03% 0.119 252.4)
XYZxyz(16.2137, 16.6660, 46.0695)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874B5 #B57938
analogous
#38B3B5 #3874B5 #3B38B5
triadic
#3874B5 #B53874 #74B538
tetradic
#3874B5 #B538B3 #B57938 #38B53B
square
#3874B5 #B538B3 #B57938 #38B53B
split-complementary
#3874B5 #B53B38 #B3B538
monochromatic
#1B3858 #2A5686 #3874B5 #5D93CD #8CB2DB

Accessibility & contrast

On white

4.85
#3874B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3874B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874B5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874B5#FFFFFF#000000##FFFFFF
##3874B51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5778B8
Deuteranopia (green-blind)
#456CB4
Tritanopia (blue-blind)
#00838C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3874b5;
/* rgb */ color: rgb(56, 116, 181);
/* oklch */ color: oklch(55.0% 0.119 252.4);
Tailwind
colors: {
  custom: {
    50: '#7d9bcb',
    500: '#3874b5',
    950: '#000000',
  },
}
SCSS
$custom: #3874b5;
$custom-light: #7d9bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3874b5",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 181
  },
  "hsl": {
    "h": 211.2,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.11943,
    "h": 252.4
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#3874B5
secondary
#C6A683
accent
#974CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3874B5

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

Preview Lab → · Contrast checker → · Palette generator →

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