#3A70B2#3A70B2

#3A70B2 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.119 H 254.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3A70B2
RGBrgb(58, 112, 178)
HSLhsl(213, 51%, 46%)
HSVhsv(213, 67%, 70%)
CMYKcmyk(67.4%, 37.1%, 0%, 30.2%)
CIE-LABlab(46.58, 3.85, -40.33)
CIE-LCHlch(46.58, 40.51, 275.46°)
OKLaboklab(54.01% -0.0314 -0.1146)
OKLCHoklch(54.01% 0.119 254.7)
XYZxyz(15.5720, 15.7007, 44.3207)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A70B2 #B27C3A
analogous
#3AACB2 #3A70B2 #403AB2
triadic
#3A70B2 #B23A70 #70B23A
tetradic
#3A70B2 #B23AAC #B27C3A #3AB240
square
#3A70B2 #B23AAC #B27C3A #3AB240
split-complementary
#3A70B2 #B2403A #ACB23A
monochromatic
#1C3656 #2B5384 #3A70B2 #5F8FCB #8DAFDA

Accessibility & contrast

On white

5.07
#3A70B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3A70B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A70B2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A70B2#FFFFFF#000000##FFFFFF
##3A70B21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#4169B1
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a70b2;
/* rgb */ color: rgb(58, 112, 178);
/* oklch */ color: oklch(54.0% 0.119 254.7);
Tailwind
colors: {
  custom: {
    50: '#7d98c9',
    500: '#3a70b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a70b2;
$custom-light: #7d98c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a70b2",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 213,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.11881,
    "h": 254.7
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#3A70B2
secondary
#C4A783
accent
#9B4DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A70B2

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

Preview Lab → · Contrast checker → · Palette generator →

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