#4072AC#4072AC

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

Color values

HEX#4072AC
RGBrgb(64, 114, 172)
HSLhsl(212, 46%, 46%)
HSVhsv(212, 63%, 67%)
CMYKcmyk(62.8%, 33.7%, 0%, 32.5%)
CIE-LABlab(47.11, 1.60, -35.98)
CIE-LCHlch(47.11, 36.01, 272.54°)
OKLaboklab(54.4% -0.0304 -0.1018)
OKLCHoklch(54.4% 0.106 253.4)
XYZxyz(15.5754, 16.1017, 41.3089)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072AC #AC7A40
analogous
#40A8AC #4072AC #4440AC
triadic
#4072AC #AC4072 #72AC40
tetradic
#4072AC #AC40A8 #AC7A40 #40AC44
square
#4072AC #AC40A8 #AC7A40 #40AC44
split-complementary
#4072AC #AC4440 #A8AC40
monochromatic
#1F3753 #2F547F #4072AC #6491C5 #91B1D6

Accessibility & contrast

On white

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

On black

4.22
#4072AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4072AC#FFFFFF#000000##FFFFFF
##4072AC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#4B6BAB
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4072ac;
/* rgb */ color: rgb(64, 114, 172);
/* oklch */ color: oklch(54.4% 0.106 253.4);
Tailwind
colors: {
  custom: {
    50: '#7f9ac5',
    500: '#4072ac',
    950: '#000000',
  },
}
SCSS
$custom: #4072ac;
$custom-light: #7f9ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4072ac",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 172
  },
  "hsl": {
    "h": 212.222,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.10621,
    "h": 253.4
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#4072AC
secondary
#C1A687
accent
#9952D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4072AC

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

Preview Lab → · Contrast checker → · Palette generator →

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