#3A70C9#3A70C9

#3A70C9 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.150 H 259.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A70C9
RGBrgb(58, 112, 201)
HSLhsl(217, 57%, 51%)
HSVhsv(217, 71%, 79%)
CMYKcmyk(71.1%, 44.3%, 0%, 21.2%)
CIE-LABlab(47.88, 12.19, -51.53)
CIE-LCHlch(47.88, 52.95, 283.30°)
OKLaboklab(55.45% -0.0264 -0.1475)
OKLCHoklch(55.45% 0.15 259.9)
XYZxyz(18.0779, 16.7030, 57.5183)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70C9 #C9933A
analogous
#3AB7C9 #3A70C9 #4B3AC9
triadic
#3A70C9 #C93A70 #70C93A
tetradic
#3A70C9 #C93AB7 #C9933A #3AC94B
square
#3A70C9 #C93AB7 #C9933A #3AC94B
split-complementary
#3A70C9 #C94B3A #B7C93A
monochromatic
#1D3B6B #2B559B #3A70C9 #6A93D6 #9AB6E3

Accessibility & contrast

On white

4.84
#3A70C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3A70C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70C9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70C9#FFFFFF#000000##FFFFFF
##3A70C91.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4479CC
Deuteranopia (green-blind)
#296CC7
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a70c9;
/* rgb */ color: rgb(58, 112, 201);
/* oklch */ color: oklch(55.4% 0.150 259.9);
Tailwind
colors: {
  custom: {
    50: '#8198da',
    500: '#3a70c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a70c9;
$custom-light: #8198da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70c9",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 201
  },
  "hsl": {
    "h": 217.343,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.14981,
    "h": 259.9
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#3A70C9
secondary
#CFB790
accent
#A748E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A70C9

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

Preview Lab → · Contrast checker → · Palette generator →

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