#3874B1#3874B1

#3874B1 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.8% C 0.114 H 251.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3874B1
RGBrgb(56, 116, 177)
HSLhsl(210, 52%, 46%)
HSVhsv(210, 68%, 69%)
CMYKcmyk(68.4%, 34.5%, 0%, 30.6%)
CIE-LABlab(47.63, 0.71, -38.09)
CIE-LCHlch(47.63, 38.10, 271.07°)
OKLaboklab(54.8% -0.0372 -0.108)
OKLCHoklch(54.8% 0.114 251)
XYZxyz(15.8091, 16.5042, 43.9389)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874B1 #B17538
analogous
#38B0B1 #3874B1 #3938B1
triadic
#3874B1 #B13874 #74B138
tetradic
#3874B1 #B138B0 #B17538 #38B139
square
#3874B1 #B138B0 #B17538 #38B139
split-complementary
#3874B1 #B13938 #B0B138
monochromatic
#1B3754 #295683 #3874B1 #5B93CB #8AB1DA

Accessibility & contrast

On white

4.88
#3874B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3874B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874B1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874B1#FFFFFF#000000##FFFFFF
##3874B11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5977B4
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#00828A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3874b1;
/* rgb */ color: rgb(56, 116, 177);
/* oklch */ color: oklch(54.8% 0.114 251.0);
Tailwind
colors: {
  custom: {
    50: '#7c9bc8',
    500: '#3874b1',
    950: '#000000',
  },
}
SCSS
$custom: #3874b1;
$custom-light: #7c9bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3874b1",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 177
  },
  "hsl": {
    "h": 210.248,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.11425,
    "h": 251
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#3874B1
secondary
#C4A381
accent
#944CDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3874B1

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

Preview Lab → · Contrast checker → · Palette generator →

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