#3A70BC#3A70BC

#3A70BC is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.6% C 0.132 H 257.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A70BC
RGBrgb(58, 112, 188)
HSLhsl(215, 53%, 48%)
HSVhsv(215, 69%, 74%)
CMYKcmyk(69.1%, 40.4%, 0%, 26.3%)
CIE-LABlab(47.13, 7.46, -45.26)
CIE-LCHlch(47.13, 45.87, 279.36°)
OKLaboklab(54.62% -0.029 -0.129)
OKLCHoklch(54.62% 0.132 257.3)
XYZxyz(16.6129, 16.1170, 49.8026)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70BC #BC863A
analogous
#3AB1BC #3A70BC #453ABC
triadic
#3A70BC #BC3A70 #70BC3A
tetradic
#3A70BC #BC3AB1 #BC863A #3ABC45
square
#3A70BC #BC3AB1 #BC863A #3ABC45
split-complementary
#3A70BC #BC453A #B1BC3A
monochromatic
#1D385E #2C548D #3A70BC #6491CF #93B2DE

Accessibility & contrast

On white

4.97
#3A70BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3A70BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70BC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70BC#FFFFFF#000000##FFFFFF
##3A70BC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BF
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a70bc;
/* rgb */ color: rgb(58, 112, 188);
/* oklch */ color: oklch(54.6% 0.132 257.3);
Tailwind
colors: {
  custom: {
    50: '#7f98d0',
    500: '#3a70bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a70bc;
$custom-light: #7f98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70bc",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 215.077,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.13225,
    "h": 257.3
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#3A70BC
secondary
#C9AE89
accent
#A04CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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