#3874B8#3874B8

#3874B8 is a mid, vivid cyan. Relative luminance 0.168; OKLCH L 55.2% C 0.123 H 253.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3874B8
RGBrgb(56, 116, 184)
HSLhsl(212, 53%, 47%)
HSVhsv(212, 70%, 72%)
CMYKcmyk(69.6%, 37%, 0%, 27.8%)
CIE-LABlab(47.99, 3.22, -41.57)
CIE-LCHlch(47.99, 41.69, 274.43°)
OKLaboklab(55.2% -0.0353 -0.1182)
OKLCHoklch(55.2% 0.123 253.4)
XYZxyz(16.5248, 16.7905, 47.7081)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874B8 #B87C38
analogous
#38B4B8 #3874B8 #3C38B8
triadic
#3874B8 #B83874 #74B838
tetradic
#3874B8 #B838B4 #B87C38 #38B83C
square
#3874B8 #B838B4 #B87C38 #38B83C
split-complementary
#3874B8 #B83C38 #B4B838
monochromatic
#1B395A #2A5689 #3874B8 #5F93CE #8EB3DD

Accessibility & contrast

On white

4.82
#3874B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3874B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874B8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874B8#FFFFFF#000000##FFFFFF
##3874B81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5578BB
Deuteranopia (green-blind)
#436CB7
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3874b8;
/* rgb */ color: rgb(56, 116, 184);
/* oklch */ color: oklch(55.2% 0.123 253.4);
Tailwind
colors: {
  custom: {
    50: '#7d9bcd',
    500: '#3874b8',
    950: '#000000',
  },
}
SCSS
$custom: #3874b8;
$custom-light: #7d9bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3874b8",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 184
  },
  "hsl": {
    "h": 211.875,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.12336,
    "h": 253.4
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#3874B8
secondary
#C7A885
accent
#984BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3874B8

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

Preview Lab → · Contrast checker → · Palette generator →

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