#3A70BF#3A70BF

#3A70BF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.8% C 0.136 H 258.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A70BF
RGBrgb(58, 112, 191)
HSLhsl(216, 53%, 49%)
HSVhsv(216, 70%, 75%)
CMYKcmyk(69.6%, 41.4%, 0%, 25.1%)
CIE-LABlab(47.30, 8.54, -46.72)
CIE-LCHlch(47.30, 47.49, 280.36°)
OKLaboklab(54.81% -0.0283 -0.1333)
OKLCHoklch(54.81% 0.136 258)
XYZxyz(16.9397, 16.2477, 51.5235)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70BF #BF893A
analogous
#3AB3BF #3A70BF #473ABF
triadic
#3A70BF #BF3A70 #70BF3A
tetradic
#3A70BF #BF3AB3 #BF893A #3ABF47
square
#3A70BF #BF3AB3 #BF893A #3ABF47
split-complementary
#3A70BF #BF473A #B3BF3A
monochromatic
#1D3961 #2C5490 #3A70BF #6691D0 #95B3DF

Accessibility & contrast

On white

4.94
#3A70BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3A70BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70BF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70BF#FFFFFF#000000##FFFFFF
##3A70BF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a70bf;
/* rgb */ color: rgb(58, 112, 191);
/* oklch */ color: oklch(54.8% 0.136 258.0);
Tailwind
colors: {
  custom: {
    50: '#7f98d3',
    500: '#3a70bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a70bf;
$custom-light: #7f98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70bf",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 215.639,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.1363,
    "h": 258
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A70BF

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

Preview Lab → · Contrast checker → · Palette generator →

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