#4072A2#4072A2

#4072A2 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.093 H 249.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4072A2
RGBrgb(64, 114, 162)
HSLhsl(209, 43%, 44%)
HSVhsv(209, 60%, 64%)
CMYKcmyk(60.5%, 29.6%, 0%, 36.5%)
CIE-LABlab(46.62, -1.83, -30.89)
CIE-LCHlch(46.62, 30.94, 266.61°)
OKLaboklab(53.85% -0.0333 -0.087)
OKLCHoklch(53.85% 0.093 249)
XYZxyz(14.6509, 15.7319, 36.4399)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072A2 #A27040
analogous
#40A2A1 #4072A2 #4041A2
triadic
#4072A2 #A24072 #72A240
tetradic
#4072A2 #A140A2 #A27040 #41A240
square
#4072A2 #A140A2 #A27040 #41A240
split-complementary
#4072A2 #A24041 #A2A140
monochromatic
#1D344A #2F5376 #4072A2 #5F91C0 #8BAFD1

Accessibility & contrast

On white

5.06
#4072A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4072A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4072A2#FFFFFF#000000##FFFFFF
##4072A21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4072a2;
/* rgb */ color: rgb(64, 114, 162);
/* oklch */ color: oklch(53.9% 0.093 249.0);
Tailwind
colors: {
  custom: {
    50: '#7d9abd',
    500: '#4072a2',
    950: '#000000',
  },
}
SCSS
$custom: #4072a2;
$custom-light: #7d9abd;
$custom-dark: #000000;
JSON
{
  "hex": "#4072a2",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 162
  },
  "hsl": {
    "h": 209.388,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.09316,
    "h": 249
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#4072A2
secondary
#BC9E82
accent
#9355D3
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #4072A2

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

Preview Lab → · Contrast checker → · Palette generator →

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