#3A70E3#3A70E3

#3A70E3 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.184 H 263.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3A70E3
RGBrgb(58, 112, 227)
HSLhsl(221, 75%, 56%)
HSVhsv(221, 74%, 89%)
CMYKcmyk(74.4%, 50.7%, 0%, 11%)
CIE-LABlab(49.53, 21.70, -63.65)
CIE-LCHlch(49.53, 67.25, 288.83°)
OKLaboklab(57.24% -0.0226 -0.1831)
OKLCHoklch(57.24% 0.184 263)
XYZxyz(21.3993, 18.0315, 75.0108)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70E3 #E3AD3A
analogous
#3AC5E3 #3A70E3 #583AE3
triadic
#3A70E3 #E33A70 #70E33A
tetradic
#3A70E3 #E33AC5 #E3AD3A #3AE358
square
#3A70E3 #E33AC5 #E3AD3A #3AE358
split-complementary
#3A70E3 #E3583A #C5E33A
monochromatic
#143B8E #1C52C4 #3A70E3 #7097EB #A5BEF2

Accessibility & contrast

On white

4.56
#3A70E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#3A70E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A70E3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70E3#FFFFFF#000000##000000
##3A70E31.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#267EE7
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a70e3;
/* rgb */ color: rgb(58, 112, 227);
/* oklch */ color: oklch(57.2% 0.184 263.0);
Tailwind
colors: {
  custom: {
    50: '#8798ec',
    500: '#3a70e3',
    950: '#000000',
  },
}
SCSS
$custom: #3a70e3;
$custom-light: #8798ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70e3",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 227
  },
  "hsl": {
    "h": 220.828,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.18449,
    "h": 263
  },
  "luminance": 0.18034
}

Semantic roles & 50–950 ramp

primary
#3A70E3
secondary
#DFC999
accent
#B636F2
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3A70E3

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

Preview Lab → · Contrast checker → · Palette generator →

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