#4072AF#4072AF

#4072AF is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.6% C 0.110 H 254.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4072AF
RGBrgb(64, 114, 175)
HSLhsl(213, 46%, 47%)
HSVhsv(213, 63%, 69%)
CMYKcmyk(63.4%, 34.9%, 0%, 31.4%)
CIE-LABlab(47.26, 2.64, -37.49)
CIE-LCHlch(47.26, 37.58, 274.02°)
OKLaboklab(54.56% -0.0295 -0.1062)
OKLCHoklch(54.56% 0.11 254.4)
XYZxyz(15.8667, 16.2183, 42.8434)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072AF #AF7D40
analogous
#40AAAF #4072AF #4540AF
triadic
#4072AF #AF4072 #72AF40
tetradic
#4072AF #AF40AA #AF7D40 #40AF45
square
#4072AF #AF40AA #AF7D40 #40AF45
split-complementary
#4072AF #AF4540 #AAAF40
monochromatic
#1F3855 #305582 #4072AF #6591C7 #92B1D7

Accessibility & contrast

On white

4.95
#4072AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4072AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4072AF#FFFFFF#000000##FFFFFF
##4072AF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#496BAE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4072af;
/* rgb */ color: rgb(64, 114, 175);
/* oklch */ color: oklch(54.6% 0.110 254.4);
Tailwind
colors: {
  custom: {
    50: '#7f9ac7',
    500: '#4072af',
    950: '#000000',
  },
}
SCSS
$custom: #4072af;
$custom-light: #7f9ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4072af",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 175
  },
  "hsl": {
    "h": 212.973,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.11022,
    "h": 254.4
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#4072AF
secondary
#C3A888
accent
#9A52D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4072AF

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

Preview Lab → · Contrast checker → · Palette generator →

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