#3874BD#3874BD

#3874BD is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.5% C 0.130 H 254.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3874BD
RGBrgb(56, 116, 189)
HSLhsl(213, 54%, 48%)
HSVhsv(213, 70%, 74%)
CMYKcmyk(70.4%, 38.6%, 0%, 25.9%)
CIE-LABlab(48.26, 5.03, -44.03)
CIE-LCHlch(48.26, 44.32, 276.52°)
OKLaboklab(55.5% -0.0341 -0.1254)
OKLCHoklch(55.5% 0.13 254.8)
XYZxyz(17.0582, 17.0038, 50.5173)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874BD #BD8138
analogous
#38B7BD #3874BD #3E38BD
triadic
#3874BD #BD3874 #74BD38
tetradic
#3874BD #BD38B7 #BD8138 #38BD3E
square
#3874BD #BD38B7 #BD8138 #38BD3E
split-complementary
#3874BD #BD3E38 #B7BD38
monochromatic
#1C3A5F #2A578E #3874BD #6294D0 #91B4DE

Accessibility & contrast

On white

4.77
#3874BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3874BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874BD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874BD#FFFFFF#000000##FFFFFF
##3874BD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379C0
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#00858F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3874bd;
/* rgb */ color: rgb(56, 116, 189);
/* oklch */ color: oklch(55.5% 0.130 254.8);
Tailwind
colors: {
  custom: {
    50: '#7e9bd1',
    500: '#3874bd',
    950: '#000000',
  },
}
SCSS
$custom: #3874bd;
$custom-light: #7e9bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3874bd",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 212.932,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55501,
    "c": 0.12995,
    "h": 254.8
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

primary
#3874BD
secondary
#C9AC87
accent
#9B4ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3874BD

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

Preview Lab → · Contrast checker → · Palette generator →

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