#3A70C2#3A70C2

#3A70C2 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.0% C 0.140 H 258.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A70C2
RGBrgb(58, 112, 194)
HSLhsl(216, 54%, 49%)
HSVhsv(216, 70%, 76%)
CMYKcmyk(70.1%, 42.3%, 0%, 23.9%)
CIE-LABlab(47.47, 9.63, -48.17)
CIE-LCHlch(47.47, 49.13, 281.31°)
OKLaboklab(55% -0.0277 -0.1376)
OKLCHoklch(55% 0.14 258.6)
XYZxyz(17.2732, 16.3811, 53.2800)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70C2 #C28C3A
analogous
#3AB4C2 #3A70C2 #483AC2
triadic
#3A70C2 #C23A70 #70C23A
tetradic
#3A70C2 #C23AB4 #C28C3A #3AC248
square
#3A70C2 #C23AB4 #C28C3A #3AC248
split-complementary
#3A70C2 #C2483A #B4C23A
monochromatic
#1E3A64 #2C5593 #3A70C2 #6792D2 #97B4E0

Accessibility & contrast

On white

4.91
#3A70C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3A70C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70C2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70C2#FFFFFF#000000##FFFFFF
##3A70C21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4977C5
Deuteranopia (green-blind)
#326BC0
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a70c2;
/* rgb */ color: rgb(58, 112, 194);
/* oklch */ color: oklch(55.0% 0.140 258.6);
Tailwind
colors: {
  custom: {
    50: '#8098d5',
    500: '#3a70c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a70c2;
$custom-light: #8098d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70c2",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 216.176,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.14035,
    "h": 258.6
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#3A70C2
secondary
#CBB28D
accent
#A34ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A70C2

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

Preview Lab → · Contrast checker → · Palette generator →

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