#4072A4#4072A4

#4072A4 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.0% C 0.096 H 250.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4072A4
RGBrgb(64, 114, 164)
HSLhsl(210, 44%, 45%)
HSVhsv(210, 61%, 64%)
CMYKcmyk(61%, 30.5%, 0%, 35.7%)
CIE-LABlab(46.72, -1.15, -31.92)
CIE-LCHlch(46.72, 31.94, 267.94°)
OKLaboklab(53.96% -0.0327 -0.09)
OKLCHoklch(53.96% 0.096 250)
XYZxyz(14.8301, 15.8036, 37.3836)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072A4 #A47240
analogous
#40A4A4 #4072A4 #4040A4
triadic
#4072A4 #A44072 #72A440
tetradic
#4072A4 #A440A4 #A47240 #40A440
square
#4072A4 #A440A4 #A47240 #40A440
split-complementary
#4072A4 #A44040 #A4A440
monochromatic
#1E354C #2F5378 #4072A4 #6091C1 #8CAFD2

Accessibility & contrast

On white

5.05
#4072A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4072A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4072A4#FFFFFF#000000##FFFFFF
##4072A41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A6
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4072a4;
/* rgb */ color: rgb(64, 114, 164);
/* oklch */ color: oklch(54.0% 0.096 250.0);
Tailwind
colors: {
  custom: {
    50: '#7e9abf',
    500: '#4072a4',
    950: '#000000',
  },
}
SCSS
$custom: #4072a4;
$custom-light: #7e9abf;
$custom-dark: #000000;
JSON
{
  "hex": "#4072a4",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 164
  },
  "hsl": {
    "h": 210,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53959,
    "c": 0.09573,
    "h": 250
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#4072A4
secondary
#BDA083
accent
#9454D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #4072A4

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

Preview Lab → · Contrast checker → · Palette generator →

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