#4070AC#4070AC

#4070AC is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.108 H 254.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4070AC
RGBrgb(64, 112, 172)
HSLhsl(213, 46%, 46%)
HSVhsv(213, 63%, 67%)
CMYKcmyk(62.8%, 34.9%, 0%, 32.5%)
CIE-LABlab(46.52, 2.82, -36.91)
CIE-LCHlch(46.52, 37.01, 274.37°)
OKLaboklab(53.93% -0.0282 -0.1045)
OKLCHoklch(53.93% 0.108 254.9)
XYZxyz(15.3522, 15.6555, 41.2345)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4070AC #AC7C40
analogous
#40A6AC #4070AC #4640AC
triadic
#4070AC #AC4070 #70AC40
tetradic
#4070AC #AC40A6 #AC7C40 #40AC46
square
#4070AC #AC40A6 #AC7C40 #40AC46
split-complementary
#4070AC #AC4640 #A6AC40
monochromatic
#1F3653 #2F537F #4070AC #648FC5 #91AFD6

Accessibility & contrast

On white

5.08
#4070AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4070AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4070AC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4070AC#FFFFFF#000000##FFFFFF
##4070AC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5674AF
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4070ac;
/* rgb */ color: rgb(64, 112, 172);
/* oklch */ color: oklch(53.9% 0.108 254.9);
Tailwind
colors: {
  custom: {
    50: '#7f98c5',
    500: '#4070ac',
    950: '#000000',
  },
}
SCSS
$custom: #4070ac;
$custom-light: #7f98c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4070ac",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 172
  },
  "hsl": {
    "h": 213.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53934,
    "c": 0.10825,
    "h": 254.9
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#4070AC
secondary
#C1A787
accent
#9B52D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4070AC

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

Preview Lab → · Contrast checker → · Palette generator →

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