#4A70AB#4A70AB

#4A70AB is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.4% C 0.102 H 258.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4A70AB
RGBrgb(74, 112, 171)
HSLhsl(216, 40%, 48%)
HSVhsv(216, 57%, 67%)
CMYKcmyk(56.7%, 34.5%, 0%, 32.9%)
CIE-LABlab(46.95, 4.54, -35.61)
CIE-LCHlch(46.95, 35.89, 277.26°)
OKLaboklab(54.39% -0.0197 -0.1006)
OKLCHoklch(54.39% 0.102 258.9)
XYZxyz(15.9663, 15.9832, 40.7639)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A70AB #AB854A
analogous
#4AA0AB #4A70AB #544AAB
triadic
#4A70AB #AB4A70 #70AB4A
tetradic
#4A70AB #AB4AA0 #AB854A #4AAB54
square
#4A70AB #AB4AA0 #AB854A #4AAB54
split-complementary
#4A70AB #AB544A #A0AB4A
monochromatic
#253856 #385480 #4A70AB #7190C1 #9BB2D4

Accessibility & contrast

On white

5.00
#4A70AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4A70AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A70AB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A70AB#FFFFFF#000000##FFFFFF
##4A70AB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#4C6BAA
Tritanopia (blue-blind)
#027D85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a70ab;
/* rgb */ color: rgb(74, 112, 171);
/* oklch */ color: oklch(54.4% 0.102 258.9);
Tailwind
colors: {
  custom: {
    50: '#8498c4',
    500: '#4a70ab',
    950: '#000000',
  },
}
SCSS
$custom: #4a70ab;
$custom-light: #8498c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a70ab",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 216.495,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54387,
    "c": 0.10248,
    "h": 258.9
  },
  "luminance": 0.15984
}

Semantic roles & 50–950 ramp

primary
#4A70AB
secondary
#C0AE90
accent
#A158CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4A70AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4A70AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva