#3874BF#3874BF

#3874BF is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.6% C 0.133 H 255.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3874BF
RGBrgb(56, 116, 191)
HSLhsl(213, 55%, 48%)
HSVhsv(213, 71%, 75%)
CMYKcmyk(70.7%, 39.3%, 0%, 25.1%)
CIE-LABlab(48.37, 5.76, -45.01)
CIE-LCHlch(48.37, 45.37, 277.29°)
OKLaboklab(55.62% -0.0336 -0.1283)
OKLCHoklch(55.62% 0.133 255.3)
XYZxyz(17.2768, 17.0913, 51.6685)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874BF #BF8338
analogous
#38B7BF #3874BF #3F38BF
triadic
#3874BF #BF3874 #74BF38
tetradic
#3874BF #BF38B7 #BF8338 #38BF3F
square
#3874BF #BF38B7 #BF8338 #38BF3F
split-complementary
#3874BF #BF3F38 #B7BF38
monochromatic
#1C3B60 #2A5790 #3874BF #6394D1 #92B4DF

Accessibility & contrast

On white

4.75
#3874BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3874BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874BF#FFFFFF#000000##FFFFFF
##3874BF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#517AC2
Deuteranopia (green-blind)
#3D6DBD
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3874bf;
/* rgb */ color: rgb(56, 116, 191);
/* oklch */ color: oklch(55.6% 0.133 255.3);
Tailwind
colors: {
  custom: {
    50: '#7f9bd3',
    500: '#3874bf',
    950: '#000000',
  },
}
SCSS
$custom: #3874bf;
$custom-light: #7f9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3874bf",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 213.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55623,
    "c": 0.1326,
    "h": 255.3
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#3874BF
secondary
#CAAD89
accent
#9C4ADE
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3874BF

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

Preview Lab → · Contrast checker → · Palette generator →

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