#3A70C0#3A70C0

#3A70C0 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 54.9% C 0.138 H 258.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A70C0
RGBrgb(58, 112, 192)
HSLhsl(216, 54%, 49%)
HSVhsv(216, 70%, 75%)
CMYKcmyk(69.8%, 41.7%, 0%, 24.7%)
CIE-LABlab(47.36, 8.91, -47.20)
CIE-LCHlch(47.36, 48.04, 280.69°)
OKLaboklab(54.87% -0.0281 -0.1347)
OKLCHoklch(54.87% 0.138 258.2)
XYZxyz(17.0501, 16.2919, 52.1050)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70C0 #C08A3A
analogous
#3AB3C0 #3A70C0 #473AC0
triadic
#3A70C0 #C03A70 #70C03A
tetradic
#3A70C0 #C03AB3 #C08A3A #3AC047
square
#3A70C0 #C03AB3 #C08A3A #3AC047
split-complementary
#3A70C0 #C0473A #B3C03A
monochromatic
#1E3962 #2C5591 #3A70C0 #6691D1 #95B3DF

Accessibility & contrast

On white

4.93
#3A70C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3A70C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70C0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70C0#FFFFFF#000000##FFFFFF
##3A70C01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C3
Deuteranopia (green-blind)
#346BBE
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a70c0;
/* rgb */ color: rgb(58, 112, 192);
/* oklch */ color: oklch(54.9% 0.138 258.2);
Tailwind
colors: {
  custom: {
    50: '#8098d3',
    500: '#3a70c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a70c0;
$custom-light: #8098d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70c0",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 192
  },
  "hsl": {
    "h": 215.821,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.13765,
    "h": 258.2
  },
  "luminance": 0.16294
}

Semantic roles & 50–950 ramp

primary
#3A70C0
secondary
#CAB18B
accent
#A24BDD
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A70C0

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

Preview Lab → · Contrast checker → · Palette generator →

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