#4A70CB#4A70CB

#4A70CB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.147 H 265.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4A70CB
RGBrgb(74, 112, 203)
HSLhsl(222, 55%, 54%)
HSVhsv(222, 64%, 80%)
CMYKcmyk(63.5%, 44.8%, 0%, 20.4%)
CIE-LABlab(48.70, 15.47, -51.33)
CIE-LCHlch(48.70, 53.61, 286.77°)
OKLaboklab(56.31% -0.0128 -0.1466)
OKLCHoklch(56.31% 0.147 265)
XYZxyz(19.3940, 17.3542, 58.8160)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A70CB #CBA54A
analogous
#4AB0CB #4A70CB #654ACB
triadic
#4A70CB #CB4A70 #70CB4A
tetradic
#4A70CB #CB4AB0 #CBA54A #4ACB65
square
#4A70CB #CB4AB0 #CBA54A #4ACB65
split-complementary
#4A70CB #CB654A #B0CB4A
monochromatic
#233C78 #3053A8 #4A70CB #7A96D9 #A9BBE6

Accessibility & contrast

On white

4.70
#4A70CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4A70CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A70CB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A70CB#FFFFFF#000000##FFFFFF
##4A70CB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#2F6EC9
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a70cb;
/* rgb */ color: rgb(74, 112, 203);
/* oklch */ color: oklch(56.3% 0.147 265.0);
Tailwind
colors: {
  custom: {
    50: '#8998db',
    500: '#4a70cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a70cb;
$custom-light: #8998db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a70cb",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 222.326,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.14714,
    "h": 265
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#4A70CB
secondary
#D4C49D
accent
#B349DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4A70CB

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

Preview Lab → · Contrast checker → · Palette generator →

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