#3A70C6#3A70C6

#3A70C6 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.3% C 0.146 H 259.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3A70C6
RGBrgb(58, 112, 198)
HSLhsl(217, 55%, 50%)
HSVhsv(217, 71%, 78%)
CMYKcmyk(70.7%, 43.4%, 0%, 22.4%)
CIE-LABlab(47.70, 11.09, -50.10)
CIE-LCHlch(47.70, 51.31, 282.48°)
OKLaboklab(55.25% -0.0269 -0.1432)
OKLCHoklch(55.25% 0.146 259.4)
XYZxyz(17.7285, 16.5632, 55.6778)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70C6 #C6903A
analogous
#3AB6C6 #3A70C6 #4A3AC6
triadic
#3A70C6 #C63A70 #70C63A
tetradic
#3A70C6 #C63AB6 #C6903A #3AC64A
square
#3A70C6 #C63AB6 #C6903A #3AC64A
split-complementary
#3A70C6 #C64A3A #B6C63A
monochromatic
#1E3A68 #2C5597 #3A70C6 #6992D4 #99B5E1

Accessibility & contrast

On white

4.87
#3A70C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3A70C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70C6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70C6#FFFFFF#000000##FFFFFF
##3A70C61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4678C9
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a70c6;
/* rgb */ color: rgb(58, 112, 198);
/* oklch */ color: oklch(55.3% 0.146 259.4);
Tailwind
colors: {
  custom: {
    50: '#8198d8',
    500: '#3a70c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a70c6;
$custom-light: #8198d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70c6",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 198
  },
  "hsl": {
    "h": 216.857,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.14576,
    "h": 259.4
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#3A70C6
secondary
#CDB58F
accent
#A549DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A70C6

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

Preview Lab → · Contrast checker → · Palette generator →

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