#4070CE#4070CE

#4070CE is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.0% C 0.155 H 262.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4070CE
RGBrgb(64, 112, 206)
HSLhsl(220, 59%, 53%)
HSVhsv(220, 69%, 81%)
CMYKcmyk(68.9%, 45.6%, 0%, 19.2%)
CIE-LABlab(48.43, 14.88, -53.51)
CIE-LCHlch(48.43, 55.54, 285.54°)
OKLaboklab(56.03% -0.0209 -0.1532)
OKLCHoklch(56.03% 0.155 262.2)
XYZxyz(19.0451, 17.1326, 60.6838)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4070CE #CE9E40
analogous
#40B7CE #4070CE #5740CE
triadic
#4070CE #CE4070 #70CE40
tetradic
#4070CE #CE40B7 #CE9E40 #40CE57
square
#4070CE #CE40B7 #CE9E40 #40CE57
split-complementary
#4070CE #CE5740 #B7CE40
monochromatic
#1E3C75 #2B54A6 #4070CE #7194DA #A1B9E7

Accessibility & contrast

On white

4.74
#4070CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4070CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4070CE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4070CE#FFFFFF#000000##FFFFFF
##4070CE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407AD2
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4070ce;
/* rgb */ color: rgb(64, 112, 206);
/* oklch */ color: oklch(56.0% 0.155 262.2);
Tailwind
colors: {
  custom: {
    50: '#8598dd',
    500: '#4070ce',
    950: '#000000',
  },
}
SCSS
$custom: #4070ce;
$custom-light: #8598dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4070ce",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 219.718,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.1546,
    "h": 262.2
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

primary
#4070CE
secondary
#D4BF96
accent
#AD45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4070CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4070CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva