#3874B9#3874B9

#3874B9 is a mid, vivid cyan. Relative luminance 0.168; OKLCH L 55.3% C 0.125 H 253.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3874B9
RGBrgb(56, 116, 185)
HSLhsl(212, 54%, 47%)
HSVhsv(212, 70%, 73%)
CMYKcmyk(69.7%, 37.3%, 0%, 27.5%)
CIE-LABlab(48.05, 3.58, -42.06)
CIE-LCHlch(48.05, 42.22, 274.87°)
OKLaboklab(55.26% -0.035 -0.1196)
OKLCHoklch(55.26% 0.125 253.7)
XYZxyz(16.6300, 16.8326, 48.2621)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874B9 #B97D38
analogous
#38B5B9 #3874B9 #3D38B9
triadic
#3874B9 #B93874 #74B938
tetradic
#3874B9 #B938B5 #B97D38 #38B93D
square
#3874B9 #B938B5 #B97D38 #38B93D
split-complementary
#3874B9 #B93D38 #B5B938
monochromatic
#1C395B #2A578A #3874B9 #5F93CF #8EB3DD

Accessibility & contrast

On white

4.81
#3874B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3874B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874B9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874B9#FFFFFF#000000##FFFFFF
##3874B91.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5579BC
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3874b9;
/* rgb */ color: rgb(56, 116, 185);
/* oklch */ color: oklch(55.3% 0.125 253.7);
Tailwind
colors: {
  custom: {
    50: '#7d9bce',
    500: '#3874b9',
    950: '#000000',
  },
}
SCSS
$custom: #3874b9;
$custom-light: #7d9bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3874b9",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 185
  },
  "hsl": {
    "h": 212.093,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55262,
    "c": 0.12468,
    "h": 253.7
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#3874B9
secondary
#C8A985
accent
#994BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3874B9

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

Preview Lab → · Contrast checker → · Palette generator →

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