#3A70CD#3A70CD

#3A70CD is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.155 H 260.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3A70CD
RGBrgb(58, 112, 205)
HSLhsl(218, 60%, 52%)
HSVhsv(218, 72%, 80%)
CMYKcmyk(71.7%, 45.4%, 0%, 19.6%)
CIE-LABlab(48.13, 13.65, -53.43)
CIE-LCHlch(48.13, 55.15, 284.33°)
OKLaboklab(55.71% -0.0256 -0.1531)
OKLCHoklch(55.71% 0.155 260.5)
XYZxyz(18.5546, 16.8937, 60.0287)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70CD #CD973A
analogous
#3ABACD #3A70CD #4E3ACD
triadic
#3A70CD #CD3A70 #70CD3A
tetradic
#3A70CD #CD3ABA #CD973A #3ACD4E
square
#3A70CD #CD3ABA #CD973A #3ACD4E
split-complementary
#3A70CD #CD4E3A #BACD3A
monochromatic
#1C3B70 #2955A1 #3A70CD #6B93D9 #9CB7E6

Accessibility & contrast

On white

4.80
#3A70CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3A70CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70CD#FFFFFF#000000##FFFFFF
##3A70CD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4079D1
Deuteranopia (green-blind)
#226CCB
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a70cd;
/* rgb */ color: rgb(58, 112, 205);
/* oklch */ color: oklch(55.7% 0.155 260.5);
Tailwind
colors: {
  custom: {
    50: '#8298dd',
    500: '#3a70cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a70cd;
$custom-light: #8298dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70cd",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 217.959,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.15519,
    "h": 260.5
  },
  "luminance": 0.16896
}

Semantic roles & 50–950 ramp

primary
#3A70CD
secondary
#D2BA91
accent
#A945E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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