#3874B2#3874B2

#3874B2 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.9% C 0.116 H 251.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3874B2
RGBrgb(56, 116, 178)
HSLhsl(210, 52%, 46%)
HSVhsv(210, 69%, 70%)
CMYKcmyk(68.5%, 34.8%, 0%, 30.2%)
CIE-LABlab(47.68, 1.07, -38.59)
CIE-LCHlch(47.68, 38.60, 271.59°)
OKLaboklab(54.85% -0.0369 -0.1095)
OKLCHoklch(54.85% 0.116 251.4)
XYZxyz(15.9092, 16.5442, 44.4658)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874B2 #B27638
analogous
#38B1B2 #3874B2 #3938B2
triadic
#3874B2 #B23874 #74B238
tetradic
#3874B2 #B238B1 #B27638 #38B239
square
#3874B2 #B238B1 #B27638 #38B239
split-complementary
#3874B2 #B23938 #B1B238
monochromatic
#1B3755 #295683 #3874B2 #5C93CC #8AB2DA

Accessibility & contrast

On white

4.87
#3874B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3874B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874B2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874B2#FFFFFF#000000##FFFFFF
##3874B21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3874b2;
/* rgb */ color: rgb(56, 116, 178);
/* oklch */ color: oklch(54.9% 0.116 251.4);
Tailwind
colors: {
  custom: {
    50: '#7c9bc9',
    500: '#3874b2',
    950: '#000000',
  },
}
SCSS
$custom: #3874b2;
$custom-light: #7c9bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3874b2",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 210.492,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.11554,
    "h": 251.4
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#3874B2
secondary
#C5A381
accent
#954CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3874B2

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

Preview Lab → · Contrast checker → · Palette generator →

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