#3874D0#3874D0

#3874D0 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.7% C 0.155 H 258.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3874D0
RGBrgb(56, 116, 208)
HSLhsl(216, 62%, 52%)
HSVhsv(216, 73%, 82%)
CMYKcmyk(73.1%, 44.2%, 0%, 18.4%)
CIE-LABlab(49.35, 11.97, -53.18)
CIE-LCHlch(49.35, 54.51, 282.68°)
OKLaboklab(56.7% -0.03 -0.1523)
OKLCHoklch(56.7% 0.155 258.8)
XYZxyz(19.2573, 17.8835, 62.0992)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874D0 #D09438
analogous
#38C0D0 #3874D0 #4838D0
triadic
#3874D0 #D03874 #74D038
tetradic
#3874D0 #D038C0 #D09438 #38D048
square
#3874D0 #D038C0 #D09438 #38D048
split-complementary
#3874D0 #D04838 #C0D038
monochromatic
#1B3E73 #2758A4 #3874D0 #6A97DC #9BB9E7

Accessibility & contrast

On white

4.59
#3874D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3874D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3874D0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874D0#FFFFFF#000000##FFFFFF
##3874D01.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467DD4
Deuteranopia (green-blind)
#286FCE
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3874d0;
/* rgb */ color: rgb(56, 116, 208);
/* oklch */ color: oklch(56.7% 0.155 258.8);
Tailwind
colors: {
  custom: {
    50: '#829bdf',
    500: '#3874d0',
    950: '#000000',
  },
}
SCSS
$custom: #3874d0;
$custom-light: #829bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3874d0",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 208
  },
  "hsl": {
    "h": 216.316,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.567,
    "c": 0.15521,
    "h": 258.8
  },
  "luminance": 0.17886
}

Semantic roles & 50–950 ramp

primary
#3874D0
secondary
#D3B991
accent
#A543E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3874D0

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

Preview Lab → · Contrast checker → · Palette generator →

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