#4072AA#4072AA

#4072AA is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.3% C 0.104 H 252.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4072AA
RGBrgb(64, 114, 170)
HSLhsl(212, 45%, 46%)
HSVhsv(212, 62%, 67%)
CMYKcmyk(62.4%, 32.9%, 0%, 33.3%)
CIE-LABlab(47.01, 0.91, -34.97)
CIE-LCHlch(47.01, 34.98, 271.48°)
OKLaboklab(54.28% -0.0309 -0.0988)
OKLCHoklch(54.28% 0.104 252.6)
XYZxyz(15.3847, 16.0255, 40.3049)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072AA #AA7840
analogous
#40A7AA #4072AA #4340AA
triadic
#4072AA #AA4072 #72AA40
tetradic
#4072AA #AA40A7 #AA7840 #40AA43
square
#4072AA #AA40A7 #AA7840 #40AA43
split-complementary
#4072AA #AA4340 #A7AA40
monochromatic
#1F3651 #2F547E #4072AA #6391C4 #8FB0D5

Accessibility & contrast

On white

4.99
#4072AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4072AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072AA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072AA#FFFFFF#000000##FFFFFF
##4072AA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AC
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4072aa;
/* rgb */ color: rgb(64, 114, 170);
/* oklch */ color: oklch(54.3% 0.104 252.6);
Tailwind
colors: {
  custom: {
    50: '#7e9ac3',
    500: '#4072aa',
    950: '#000000',
  },
}
SCSS
$custom: #4072aa;
$custom-light: #7e9ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#4072aa",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 211.698,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54284,
    "c": 0.10357,
    "h": 252.6
  },
  "luminance": 0.16027
}

Semantic roles & 50–950 ramp

primary
#4072AA
secondary
#C0A586
accent
#9853D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #4072AA

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

Preview Lab → · Contrast checker → · Palette generator →

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