#4072AB#4072AB

#4072AB is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.3% C 0.105 H 253.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4072AB
RGBrgb(64, 114, 171)
HSLhsl(212, 46%, 46%)
HSVhsv(212, 63%, 67%)
CMYKcmyk(62.6%, 33.3%, 0%, 32.9%)
CIE-LABlab(47.06, 1.25, -35.47)
CIE-LCHlch(47.06, 35.50, 272.02°)
OKLaboklab(54.34% -0.0306 -0.1003)
OKLCHoklch(54.34% 0.105 253)
XYZxyz(15.4797, 16.0634, 40.8050)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072AB #AB7940
analogous
#40A7AB #4072AB #4340AB
triadic
#4072AB #AB4072 #72AB40
tetradic
#4072AB #AB40A7 #AB7940 #40AB43
square
#4072AB #AB40A7 #AB7940 #40AB43
split-complementary
#4072AB #AB4340 #A7AB40
monochromatic
#1F3752 #2F547E #4072AB #6391C5 #90B0D5

Accessibility & contrast

On white

4.98
#4072AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4072AB#FFFFFF#000000##FFFFFF
##4072AB1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4072ab;
/* rgb */ color: rgb(64, 114, 171);
/* oklch */ color: oklch(54.3% 0.105 253.0);
Tailwind
colors: {
  custom: {
    50: '#7f9ac4',
    500: '#4072ab',
    950: '#000000',
  },
}
SCSS
$custom: #4072ab;
$custom-light: #7f9ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4072ab",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 171
  },
  "hsl": {
    "h": 211.963,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.10489,
    "h": 253
  },
  "luminance": 0.16065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4072AB

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

Preview Lab → · Contrast checker → · Palette generator →

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