#3874BE#3874BE

#3874BE is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.6% C 0.131 H 255.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3874BE
RGBrgb(56, 116, 190)
HSLhsl(213, 54%, 48%)
HSVhsv(213, 71%, 75%)
CMYKcmyk(70.5%, 38.9%, 0%, 25.5%)
CIE-LABlab(48.32, 5.39, -44.52)
CIE-LCHlch(48.32, 44.84, 276.91°)
OKLaboklab(55.56% -0.0338 -0.1268)
OKLCHoklch(55.56% 0.131 255.1)
XYZxyz(17.1671, 17.0474, 51.0910)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874BE #BE8238
analogous
#38B7BE #3874BE #3F38BE
triadic
#3874BE #BE3874 #74BE38
tetradic
#3874BE #BE38B7 #BE8238 #38BE3F
square
#3874BE #BE38B7 #BE8238 #38BE3F
split-complementary
#3874BE #BE3F38 #B7BE38
monochromatic
#1C3A5F #2A578F #3874BE #6294D1 #92B4DF

Accessibility & contrast

On white

4.76
#3874BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3874BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874BE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874BE#FFFFFF#000000##FFFFFF
##3874BE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527AC1
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3874be;
/* rgb */ color: rgb(56, 116, 190);
/* oklch */ color: oklch(55.6% 0.131 255.1);
Tailwind
colors: {
  custom: {
    50: '#7e9bd2',
    500: '#3874be',
    950: '#000000',
  },
}
SCSS
$custom: #3874be;
$custom-light: #7e9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3874be",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 190
  },
  "hsl": {
    "h": 213.134,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.13127,
    "h": 255.1
  },
  "luminance": 0.17049
}

Semantic roles & 50–950 ramp

primary
#3874BE
secondary
#CAAC88
accent
#9C4ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3874BE

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

Preview Lab → · Contrast checker → · Palette generator →

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