#3A70C8#3A70C8

#3A70C8 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.148 H 259.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A70C8
RGBrgb(58, 112, 200)
HSLhsl(217, 56%, 51%)
HSVhsv(217, 71%, 78%)
CMYKcmyk(71%, 44%, 0%, 21.6%)
CIE-LABlab(47.82, 11.82, -51.05)
CIE-LCHlch(47.82, 52.40, 283.04°)
OKLaboklab(55.38% -0.0265 -0.1461)
OKLCHoklch(55.38% 0.148 259.7)
XYZxyz(17.9607, 16.6561, 56.9008)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70C8 #C8923A
analogous
#3AB7C8 #3A70C8 #4B3AC8
triadic
#3A70C8 #C83A70 #70C83A
tetradic
#3A70C8 #C83AB7 #C8923A #3AC84B
square
#3A70C8 #C83AB7 #C8923A #3AC84B
split-complementary
#3A70C8 #C84B3A #B7C83A
monochromatic
#1E3B6A #2B559A #3A70C8 #6A93D5 #9AB5E3

Accessibility & contrast

On white

4.85
#3A70C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3A70C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70C8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70C8#FFFFFF#000000##FFFFFF
##3A70C81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4579CB
Deuteranopia (green-blind)
#2A6BC6
Tritanopia (blue-blind)
#008592
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a70c8;
/* rgb */ color: rgb(58, 112, 200);
/* oklch */ color: oklch(55.4% 0.148 259.7);
Tailwind
colors: {
  custom: {
    50: '#8198d9',
    500: '#3a70c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a70c8;
$custom-light: #8198d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70c8",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 217.183,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55384,
    "c": 0.14845,
    "h": 259.7
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#3A70C8
secondary
#CEB68F
accent
#A648E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A70C8

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

Preview Lab → · Contrast checker → · Palette generator →

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