#3A70CA#3A70CA

#3A70CA is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.151 H 260.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3A70CA
RGBrgb(58, 112, 202)
HSLhsl(218, 58%, 51%)
HSVhsv(218, 71%, 79%)
CMYKcmyk(71.3%, 44.6%, 0%, 20.8%)
CIE-LABlab(47.94, 12.55, -52.01)
CIE-LCHlch(47.94, 53.50, 283.57°)
OKLaboklab(55.52% -0.0262 -0.1489)
OKLCHoklch(55.52% 0.151 260)
XYZxyz(18.1959, 16.7502, 58.1398)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70CA #CA943A
analogous
#3AB8CA #3A70CA #4C3ACA
triadic
#3A70CA #CA3A70 #70CA3A
tetradic
#3A70CA #CA3AB8 #CA943A #3ACA4C
square
#3A70CA #CA3AB8 #CA943A #3ACA4C
split-complementary
#3A70CA #CA4C3A #B8CA3A
monochromatic
#1D3B6C #2A559D #3A70CA #6A93D7 #9AB6E4

Accessibility & contrast

On white

4.83
#3A70CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3A70CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70CA#FFFFFF#000000##FFFFFF
##3A70CA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4379CD
Deuteranopia (green-blind)
#276CC8
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a70ca;
/* rgb */ color: rgb(58, 112, 202);
/* oklch */ color: oklch(55.5% 0.151 260.0);
Tailwind
colors: {
  custom: {
    50: '#8198db',
    500: '#3a70ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a70ca;
$custom-light: #8198db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70ca",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 217.5,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.15115,
    "h": 260
  },
  "luminance": 0.16752
}

Semantic roles & 50–950 ramp

primary
#3A70CA
secondary
#D0B890
accent
#A747E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A70CA

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

Preview Lab → · Contrast checker → · Palette generator →

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