#3A70C7#3A70C7

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

Color values

HEX#3A70C7
RGBrgb(58, 112, 199)
HSLhsl(217, 56%, 50%)
HSVhsv(217, 71%, 78%)
CMYKcmyk(70.9%, 43.7%, 0%, 22%)
CIE-LABlab(47.76, 11.46, -50.58)
CIE-LCHlch(47.76, 51.86, 282.76°)
OKLaboklab(55.32% -0.0267 -0.1447)
OKLCHoklch(55.32% 0.147 259.5)
XYZxyz(17.8442, 16.6095, 56.2873)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70C7 #C7913A
analogous
#3AB7C7 #3A70C7 #4A3AC7
triadic
#3A70C7 #C73A70 #70C73A
tetradic
#3A70C7 #C73AB7 #C7913A #3AC74A
square
#3A70C7 #C73AB7 #C7913A #3AC74A
split-complementary
#3A70C7 #C74A3A #B7C73A
monochromatic
#1E3B69 #2B5598 #3A70C7 #6A93D5 #99B5E2

Accessibility & contrast

On white

4.86
#3A70C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3A70C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70C7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70C7#FFFFFF#000000##FFFFFF
##3A70C71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4578CA
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a70c7;
/* rgb */ color: rgb(58, 112, 199);
/* oklch */ color: oklch(55.3% 0.147 259.5);
Tailwind
colors: {
  custom: {
    50: '#8198d8',
    500: '#3a70c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a70c7;
$custom-light: #8198d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70c7",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 199
  },
  "hsl": {
    "h": 217.021,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.14711,
    "h": 259.5
  },
  "luminance": 0.16611
}

Semantic roles & 50–950 ramp

primary
#3A70C7
secondary
#CEB68F
accent
#A549DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A70C7

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

Preview Lab → · Contrast checker → · Palette generator →

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