#3874AA#3874AA

#3874AA is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.4% C 0.105 H 248.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3874AA
RGBrgb(56, 116, 170)
HSLhsl(208, 50%, 44%)
HSVhsv(208, 67%, 67%)
CMYKcmyk(67.1%, 31.8%, 0%, 33.3%)
CIE-LABlab(47.28, -1.77, -34.57)
CIE-LCHlch(47.28, 34.61, 267.06°)
OKLaboklab(54.41% -0.0392 -0.0978)
OKLCHoklch(54.41% 0.105 248.2)
XYZxyz(15.1293, 16.2323, 40.3582)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874AA #AA6E38
analogous
#38AAA7 #3874AA #383BAA
triadic
#3874AA #AA3874 #74AA38
tetradic
#3874AA #A738AA #AA6E38 #3BAA38
square
#3874AA #A738AA #AA6E38 #3BAA38
split-complementary
#3874AA #AA383B #AAA738
monochromatic
#1A354E #29557C #3874AA #5793C8 #85B0D7

Accessibility & contrast

On white

4.94
#3874AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3874AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3874AA#FFFFFF#000000##FFFFFF
##3874AA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AC
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#008187
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3874aa;
/* rgb */ color: rgb(56, 116, 170);
/* oklch */ color: oklch(54.4% 0.105 248.2);
Tailwind
colors: {
  custom: {
    50: '#7b9bc3',
    500: '#3874aa',
    950: '#000000',
  },
}
SCSS
$custom: #3874aa;
$custom-light: #7b9bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3874aa",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 170
  },
  "hsl": {
    "h": 208.421,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.10533,
    "h": 248.2
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

primary
#3874AA
secondary
#C19D7D
accent
#904EDA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3874AA

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

Preview Lab → · Contrast checker → · Palette generator →

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