#3874BB#3874BB

#3874BB is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.4% C 0.127 H 254.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3874BB
RGBrgb(56, 116, 187)
HSLhsl(213, 54%, 48%)
HSVhsv(213, 70%, 73%)
CMYKcmyk(70.1%, 38%, 0%, 26.7%)
CIE-LABlab(48.16, 4.31, -43.05)
CIE-LCHlch(48.16, 43.26, 275.71°)
OKLaboklab(55.38% -0.0346 -0.1225)
OKLCHoklch(55.38% 0.127 254.2)
XYZxyz(16.8426, 16.9176, 49.3819)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874BB #BB7F38
analogous
#38B5BB #3874BB #3E38BB
triadic
#3874BB #BB3874 #74BB38
tetradic
#3874BB #BB38B5 #BB7F38 #38BB3E
square
#3874BB #BB38B5 #BB7F38 #38BB3E
split-complementary
#3874BB #BB3E38 #B5BB38
monochromatic
#1C3A5D #2A578C #3874BB #6193D0 #90B3DE

Accessibility & contrast

On white

4.79
#3874BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3874BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874BB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874BB#FFFFFF#000000##FFFFFF
##3874BB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3874bb;
/* rgb */ color: rgb(56, 116, 187);
/* oklch */ color: oklch(55.4% 0.127 254.2);
Tailwind
colors: {
  custom: {
    50: '#7e9bd0',
    500: '#3874bb',
    950: '#000000',
  },
}
SCSS
$custom: #3874bb;
$custom-light: #7e9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3874bb",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 212.519,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.12731,
    "h": 254.2
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#3874BB
secondary
#C8AA86
accent
#9A4BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3874BB

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

Preview Lab → · Contrast checker → · Palette generator →

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