#3874AD#3874AD

#3874AD is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.6% C 0.109 H 249.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3874AD
RGBrgb(56, 116, 173)
HSLhsl(209, 51%, 45%)
HSVhsv(209, 68%, 68%)
CMYKcmyk(67.6%, 32.9%, 0%, 32.2%)
CIE-LABlab(47.43, -0.71, -36.08)
CIE-LCHlch(47.43, 36.09, 268.87°)
OKLaboklab(54.57% -0.0383 -0.1022)
OKLCHoklch(54.57% 0.109 249.4)
XYZxyz(15.4163, 16.3471, 41.8699)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874AD #AD7138
analogous
#38ADAC #3874AD #3839AD
triadic
#3874AD #AD3874 #74AD38
tetradic
#3874AD #AC38AD #AD7138 #39AD38
square
#3874AD #AC38AD #AD7138 #39AD38
split-complementary
#3874AD #AD3839 #ADAC38
monochromatic
#1A3651 #29557F #3874AD #5993C9 #87B1D8

Accessibility & contrast

On white

4.92
#3874AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#3874AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3874AD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3874AD#FFFFFF#000000##FFFFFF
##3874AD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B77AF
Deuteranopia (green-blind)
#4B6BAC
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3874ad;
/* rgb */ color: rgb(56, 116, 173);
/* oklch */ color: oklch(54.6% 0.109 249.4);
Tailwind
colors: {
  custom: {
    50: '#7b9bc5',
    500: '#3874ad',
    950: '#000000',
  },
}
SCSS
$custom: #3874ad;
$custom-light: #7b9bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3874ad",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 173
  },
  "hsl": {
    "h": 209.231,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54571,
    "c": 0.10912,
    "h": 249.4
  },
  "luminance": 0.16349
}

Semantic roles & 50–950 ramp

primary
#3874AD
secondary
#C2A07F
accent
#924DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3874AD

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

Preview Lab → · Contrast checker → · Palette generator →

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