#3A70CC#3A70CC

#3A70CC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.6% C 0.154 H 260.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3A70CC
RGBrgb(58, 112, 204)
HSLhsl(218, 59%, 51%)
HSVhsv(218, 72%, 80%)
CMYKcmyk(71.6%, 45.1%, 0%, 20%)
CIE-LABlab(48.06, 13.28, -52.96)
CIE-LCHlch(48.06, 54.60, 284.08°)
OKLaboklab(55.65% -0.0258 -0.1517)
OKLCHoklch(55.65% 0.154 260.3)
XYZxyz(18.4343, 16.8455, 59.3950)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70CC #CC963A
analogous
#3AB9CC #3A70CC #4D3ACC
triadic
#3A70CC #CC3A70 #70CC3A
tetradic
#3A70CC #CC3AB9 #CC963A #3ACC4D
square
#3A70CC #CC3AB9 #CC963A #3ACC4D
split-complementary
#3A70CC #CC4D3A #B9CC3A
monochromatic
#1D3B6F #2955A0 #3A70CC #6B93D9 #9BB7E5

Accessibility & contrast

On white

4.81
#3A70CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3A70CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70CC#FFFFFF#000000##FFFFFF
##3A70CC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a70cc;
/* rgb */ color: rgb(58, 112, 204);
/* oklch */ color: oklch(55.6% 0.154 260.3);
Tailwind
colors: {
  custom: {
    50: '#8298dc',
    500: '#3a70cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a70cc;
$custom-light: #8298dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70cc",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 217.808,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.15384,
    "h": 260.3
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#3A70CC
secondary
#D1B991
accent
#A846E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A70CC

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

Preview Lab → · Contrast checker → · Palette generator →

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