#4070AA#4070AA

#4070AA is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.106 H 254.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4070AA
RGBrgb(64, 112, 170)
HSLhsl(213, 45%, 46%)
HSVhsv(213, 62%, 67%)
CMYKcmyk(62.4%, 34.1%, 0%, 33.3%)
CIE-LABlab(46.42, 2.13, -35.90)
CIE-LCHlch(46.42, 35.96, 273.39°)
OKLaboklab(53.82% -0.0287 -0.1016)
OKLCHoklch(53.82% 0.106 254.2)
XYZxyz(15.1616, 15.5792, 40.2305)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4070AA #AA7A40
analogous
#40A5AA #4070AA #4540AA
triadic
#4070AA #AA4070 #70AA40
tetradic
#4070AA #AA40A5 #AA7A40 #40AA45
square
#4070AA #AA40A5 #AA7A40 #40AA45
split-complementary
#4070AA #AA4540 #A5AA40
monochromatic
#1F3551 #2F537E #4070AA #638FC4 #8FAFD5

Accessibility & contrast

On white

5.10
#4070AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4070AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4070AA#FFFFFF#000000##FFFFFF
##4070AA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5774AC
Deuteranopia (green-blind)
#4969A9
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4070aa;
/* rgb */ color: rgb(64, 112, 170);
/* oklch */ color: oklch(53.8% 0.106 254.2);
Tailwind
colors: {
  custom: {
    50: '#7e98c3',
    500: '#4070aa',
    950: '#000000',
  },
}
SCSS
$custom: #4070aa;
$custom-light: #7e98c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4070aa",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 212.83,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.10556,
    "h": 254.2
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

primary
#4070AA
secondary
#C0A686
accent
#9A53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4070AA

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

Preview Lab → · Contrast checker → · Palette generator →

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