#3874A2#3874A2

#3874A2 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.0% C 0.096 H 244.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3874A2
RGBrgb(56, 116, 162)
HSLhsl(206, 49%, 43%)
HSVhsv(206, 65%, 64%)
CMYKcmyk(65.4%, 28.4%, 0%, 36.5%)
CIE-LABlab(46.89, -4.57, -30.49)
CIE-LCHlch(46.89, 30.83, 261.47°)
OKLaboklab(53.98% -0.0417 -0.0859)
OKLCHoklch(53.98% 0.096 244.1)
XYZxyz(14.3954, 15.9387, 36.4932)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874A2 #A26638
analogous
#38A29B #3874A2 #383FA2
triadic
#3874A2 #A23874 #74A238
tetradic
#3874A2 #9B38A2 #A26638 #3FA238
square
#3874A2 #9B38A2 #A26638 #3FA238
split-complementary
#3874A2 #A2383F #A29B38
monochromatic
#193347 #285375 #3874A2 #5393C4 #81B0D3

Accessibility & contrast

On white

5.01
#3874A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3874A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874A2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874A2#FFFFFF#000000##FFFFFF
##3874A21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#516BA1
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3874a2;
/* rgb */ color: rgb(56, 116, 162);
/* oklch */ color: oklch(54.0% 0.096 244.1);
Tailwind
colors: {
  custom: {
    50: '#7a9bbd',
    500: '#3874a2',
    950: '#000000',
  },
}
SCSS
$custom: #3874a2;
$custom-light: #7a9bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3874a2",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 206.038,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.0955,
    "h": 244.1
  },
  "luminance": 0.1594
}

Semantic roles & 50–950 ramp

primary
#3874A2
secondary
#BD9679
accent
#8B50D8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3874A2

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

Preview Lab → · Contrast checker → · Palette generator →

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