#4070CF#4070CF

#4070CF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.156 H 262.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4070CF
RGBrgb(64, 112, 207)
HSLhsl(220, 60%, 53%)
HSVhsv(220, 69%, 81%)
CMYKcmyk(69.1%, 45.9%, 0%, 18.8%)
CIE-LABlab(48.49, 15.24, -53.98)
CIE-LCHlch(48.49, 56.09, 285.77°)
OKLaboklab(56.1% -0.0207 -0.1546)
OKLCHoklch(56.1% 0.156 262.4)
XYZxyz(19.1670, 17.1814, 61.3256)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4070CF #CF9F40
analogous
#40B8CF #4070CF #5740CF
triadic
#4070CF #CF4070 #70CF40
tetradic
#4070CF #CF40B8 #CF9F40 #40CF57
square
#4070CF #CF40B8 #CF9F40 #40CF57
split-complementary
#4070CF #CF5740 #B8CF40
monochromatic
#1E3C77 #2A54A8 #4070CF #7195DB #A2B9E8

Accessibility & contrast

On white

4.73
#4070CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4070CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4070CF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4070CF#FFFFFF#000000##FFFFFF
##4070CF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407AD3
Deuteranopia (green-blind)
#226DCD
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4070cf;
/* rgb */ color: rgb(64, 112, 207);
/* oklch */ color: oklch(56.1% 0.156 262.4);
Tailwind
colors: {
  custom: {
    50: '#8598de',
    500: '#4070cf',
    950: '#000000',
  },
}
SCSS
$custom: #4070cf;
$custom-light: #8598de;
$custom-dark: #000000;
JSON
{
  "hex": "#4070cf",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 219.86,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56098,
    "c": 0.15595,
    "h": 262.4
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#4070CF
secondary
#D4C097
accent
#AE45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4070CF

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

Preview Lab → · Contrast checker → · Palette generator →

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