#3A74C5#3A74C5

#3A74C5 is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 56.1% C 0.140 H 257.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3A74C5
RGBrgb(58, 116, 197)
HSLhsl(215, 55%, 50%)
HSVhsv(215, 71%, 77%)
CMYKcmyk(70.6%, 41.1%, 0%, 22.7%)
CIE-LABlab(48.78, 8.23, -47.80)
CIE-LCHlch(48.78, 48.50, 279.77°)
OKLaboklab(56.07% -0.0308 -0.1364)
OKLCHoklch(56.07% 0.14 257.3)
XYZxyz(18.0647, 17.4196, 55.2228)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74C5 #C58B3A
analogous
#3ABAC5 #3A74C5 #453AC5
triadic
#3A74C5 #C53A74 #74C53A
tetradic
#3A74C5 #C53ABA #C58B3A #3AC545
square
#3A74C5 #C53ABA #C58B3A #3AC545
split-complementary
#3A74C5 #C5453A #BAC53A
monochromatic
#1E3C66 #2C5896 #3A74C5 #6995D3 #99B7E1

Accessibility & contrast

On white

4.68
#3A74C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#3A74C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A74C5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A74C5#FFFFFF#000000##FFFFFF
##3A74C51.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC8
Deuteranopia (green-blind)
#376EC3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a74c5;
/* rgb */ color: rgb(58, 116, 197);
/* oklch */ color: oklch(56.1% 0.140 257.3);
Tailwind
colors: {
  custom: {
    50: '#809bd7',
    500: '#3a74c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a74c5;
$custom-light: #809bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74c5",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 197
  },
  "hsl": {
    "h": 214.964,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.56071,
    "c": 0.13987,
    "h": 257.3
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#3A74C5
secondary
#CDB38E
accent
#A04ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A74C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3A74C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva