#3A70C5#3A70C5

#3A70C5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.2% C 0.144 H 259.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A70C5
RGBrgb(58, 112, 197)
HSLhsl(217, 55%, 50%)
HSVhsv(217, 71%, 77%)
CMYKcmyk(70.6%, 43.1%, 0%, 22.7%)
CIE-LABlab(47.65, 10.73, -49.62)
CIE-LCHlch(47.65, 50.76, 282.20°)
OKLaboklab(55.19% -0.0271 -0.1418)
OKLCHoklch(55.19% 0.144 259.2)
XYZxyz(17.6135, 16.5172, 55.0724)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70C5 #C58F3A
analogous
#3AB5C5 #3A70C5 #4A3AC5
triadic
#3A70C5 #C53A70 #70C53A
tetradic
#3A70C5 #C53AB5 #C58F3A #3AC54A
square
#3A70C5 #C53AB5 #C58F3A #3AC54A
split-complementary
#3A70C5 #C54A3A #B5C53A
monochromatic
#1E3A66 #2C5596 #3A70C5 #6992D3 #99B5E1

Accessibility & contrast

On white

4.88
#3A70C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3A70C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70C5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70C5#FFFFFF#000000##FFFFFF
##3A70C51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4778C8
Deuteranopia (green-blind)
#2E6BC3
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a70c5;
/* rgb */ color: rgb(58, 112, 197);
/* oklch */ color: oklch(55.2% 0.144 259.2);
Tailwind
colors: {
  custom: {
    50: '#8198d7',
    500: '#3a70c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a70c5;
$custom-light: #8198d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70c5",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 197
  },
  "hsl": {
    "h": 216.691,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.55189,
    "c": 0.14441,
    "h": 259.2
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#3A70C5
secondary
#CDB48E
accent
#A44ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A70C5

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

Preview Lab → · Contrast checker → · Palette generator →

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