#3874AF#3874AF

#3874AF is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.7% C 0.112 H 250.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3874AF
RGBrgb(56, 116, 175)
HSLhsl(210, 52%, 45%)
HSVhsv(210, 68%, 69%)
CMYKcmyk(68%, 33.7%, 0%, 31.4%)
CIE-LABlab(47.53, -0.00, -37.09)
CIE-LCHlch(47.53, 37.09, 270.00°)
OKLaboklab(54.68% -0.0377 -0.1051)
OKLCHoklch(54.68% 0.112 250.2)
XYZxyz(15.6113, 16.4251, 42.8967)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3874AF #AF7338
analogous
#38AFAE #3874AF #3838AF
triadic
#3874AF #AF3874 #74AF38
tetradic
#3874AF #AE38AF #AF7338 #38AF38
square
#3874AF #AE38AF #AF7338 #38AF38
split-complementary
#3874AF #AF3838 #AFAE38
monochromatic
#1A3752 #295581 #3874AF #5A93CA #88B1D9

Accessibility & contrast

On white

4.90
#3874AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3874AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3874AF#FFFFFF#000000##FFFFFF
##3874AF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A77B2
Deuteranopia (green-blind)
#496CAE
Tritanopia (blue-blind)
#008289
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3874af;
/* rgb */ color: rgb(56, 116, 175);
/* oklch */ color: oklch(54.7% 0.112 250.2);
Tailwind
colors: {
  custom: {
    50: '#7c9bc7',
    500: '#3874af',
    950: '#000000',
  },
}
SCSS
$custom: #3874af;
$custom-light: #7c9bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3874af",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 209.748,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.11167,
    "h": 250.2
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#3874AF
secondary
#C3A180
accent
#934DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3874AF

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

Preview Lab → · Contrast checker → · Palette generator →

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