#3A74CD#3A74CD

#3A74CD is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.6% C 0.151 H 258.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3A74CD
RGBrgb(58, 116, 205)
HSLhsl(216, 60%, 52%)
HSVhsv(216, 72%, 80%)
CMYKcmyk(71.7%, 43.4%, 0%, 19.6%)
CIE-LABlab(49.25, 11.14, -51.64)
CIE-LCHlch(49.25, 52.82, 282.18°)
OKLaboklab(56.58% -0.0292 -0.1477)
OKLCHoklch(56.58% 0.151 258.8)
XYZxyz(19.0058, 17.7960, 60.1791)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74CD #CD933A
analogous
#3ABDCD #3A74CD #4A3ACD
triadic
#3A74CD #CD3A74 #74CD3A
tetradic
#3A74CD #CD3ABD #CD933A #3ACD4A
square
#3A74CD #CD3ABD #CD933A #3ACD4A
split-complementary
#3A74CD #CD4A3A #BDCD3A
monochromatic
#1C3D70 #2958A1 #3A74CD #6B96D9 #9CB9E6

Accessibility & contrast

On white

4.61
#3A74CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3A74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A74CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A74CD#FFFFFF#000000##FFFFFF
##3A74CD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#2D6FCB
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a74cd;
/* rgb */ color: rgb(58, 116, 205);
/* oklch */ color: oklch(56.6% 0.151 258.8);
Tailwind
colors: {
  custom: {
    50: '#829bdd',
    500: '#3a74cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a74cd;
$custom-light: #829bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74cd",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 216.327,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5658,
    "c": 0.15056,
    "h": 258.8
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#3A74CD
secondary
#D2B891
accent
#A545E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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