#3A70CF#3A70CF

#3A70CF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.158 H 260.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3A70CF
RGBrgb(58, 112, 207)
HSLhsl(218, 61%, 52%)
HSVhsv(218, 72%, 81%)
CMYKcmyk(72%, 45.9%, 0%, 18.8%)
CIE-LABlab(48.25, 14.38, -54.38)
CIE-LCHlch(48.25, 56.25, 284.81°)
OKLaboklab(55.85% -0.0253 -0.1558)
OKLCHoklch(55.85% 0.158 260.8)
XYZxyz(18.7975, 16.9908, 61.3083)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70CF #CF993A
analogous
#3ABBCF #3A70CF #4F3ACF
triadic
#3A70CF #CF3A70 #70CF3A
tetradic
#3A70CF #CF3ABB #CF993A #3ACF4F
square
#3A70CF #CF3ABB #CF993A #3ACF4F
split-complementary
#3A70CF #CF4F3A #BBCF3A
monochromatic
#1C3B73 #2855A4 #3A70CF #6B94DB #9CB7E7

Accessibility & contrast

On white

4.77
#3A70CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3A70CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70CF#FFFFFF#000000##FFFFFF
##3A70CF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#1E6CCD
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a70cf;
/* rgb */ color: rgb(58, 112, 207);
/* oklch */ color: oklch(55.8% 0.158 260.8);
Tailwind
colors: {
  custom: {
    50: '#8298de',
    500: '#3a70cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a70cf;
$custom-light: #8298de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70cf",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 218.255,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.15788,
    "h": 260.8
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#3A70CF
secondary
#D3BB92
accent
#AA44E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A70CF

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

Preview Lab → · Contrast checker → · Palette generator →

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