#3A70DB#3A70DB

#3A70DB is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.7% C 0.174 H 262.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3A70DB
RGBrgb(58, 112, 219)
HSLhsl(220, 69%, 54%)
HSVhsv(220, 74%, 86%)
CMYKcmyk(73.5%, 48.9%, 0%, 14.1%)
CIE-LABlab(49.01, 18.77, -59.98)
CIE-LCHlch(49.01, 62.85, 287.38°)
OKLaboklab(56.67% -0.0235 -0.1723)
OKLCHoklch(56.67% 0.174 262.2)
XYZxyz(20.3207, 17.6001, 69.3303)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70DB #DBA53A
analogous
#3AC1DB #3A70DB #553ADB
triadic
#3A70DB #DB3A70 #70DB3A
tetradic
#3A70DB #DB3AC1 #DBA53A #3ADB55
square
#3A70DB #DB3AC1 #DBA53A #3ADB55
split-complementary
#3A70DB #DB553A #C1DB3A
monochromatic
#183C83 #2153B6 #3A70DB #6E96E4 #A1BBEE

Accessibility & contrast

On white

4.65
#3A70DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3A70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70DB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70DB#FFFFFF#000000##FFFFFF
##3A70DB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a70db;
/* rgb */ color: rgb(58, 112, 219);
/* oklch */ color: oklch(56.7% 0.174 262.2);
Tailwind
colors: {
  custom: {
    50: '#8598e7',
    500: '#3a70db',
    950: '#000000',
  },
}
SCSS
$custom: #3a70db;
$custom-light: #8598e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70db",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 219.876,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56673,
    "c": 0.17392,
    "h": 262.2
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#3A70DB
secondary
#DBC496
accent
#B13CEC
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3A70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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