#4070AF#4070AF

#4070AF is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.112 H 255.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4070AF
RGBrgb(64, 112, 175)
HSLhsl(214, 46%, 47%)
HSVhsv(214, 63%, 69%)
CMYKcmyk(63.4%, 36%, 0%, 31.4%)
CIE-LABlab(46.67, 3.87, -38.41)
CIE-LCHlch(46.67, 38.61, 275.75°)
OKLaboklab(54.11% -0.0274 -0.1089)
OKLCHoklch(54.11% 0.112 255.9)
XYZxyz(15.6436, 15.7720, 42.7690)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4070AF #AF7F40
analogous
#40A8AF #4070AF #4740AF
triadic
#4070AF #AF4070 #70AF40
tetradic
#4070AF #AF40A8 #AF7F40 #40AF47
square
#4070AF #AF40A8 #AF7F40 #40AF47
split-complementary
#4070AF #AF4740 #A8AF40
monochromatic
#1F3755 #305382 #4070AF #6590C7 #92B0D7

Accessibility & contrast

On white

5.05
#4070AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4070AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4070AF#FFFFFF#000000##FFFFFF
##4070AF1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4070af;
/* rgb */ color: rgb(64, 112, 175);
/* oklch */ color: oklch(54.1% 0.112 255.9);
Tailwind
colors: {
  custom: {
    50: '#7f98c7',
    500: '#4070af',
    950: '#000000',
  },
}
SCSS
$custom: #4070af;
$custom-light: #7f98c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4070af",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 214.054,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.1123,
    "h": 255.9
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#4070AF
secondary
#C3A988
accent
#9D52D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4070AF

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

Preview Lab → · Contrast checker → · Palette generator →

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