#4072B7#4072B7

#4072B7 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.0% C 0.121 H 256.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4072B7
RGBrgb(64, 114, 183)
HSLhsl(215, 48%, 48%)
HSVhsv(215, 65%, 72%)
CMYKcmyk(65%, 37.7%, 0%, 28.2%)
CIE-LABlab(47.68, 5.44, -41.47)
CIE-LCHlch(47.68, 41.83, 277.47°)
OKLaboklab(55.03% -0.0275 -0.1178)
OKLCHoklch(55.03% 0.121 256.9)
XYZxyz(16.6758, 16.5419, 47.1047)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072B7 #B78540
analogous
#40ADB7 #4072B7 #4940B7
triadic
#4072B7 #B74072 #72B740
tetradic
#4072B7 #B740AD #B78540 #40B749
square
#4072B7 #B740AD #B78540 #40B749
split-complementary
#4072B7 #B74940 #ADB740
monochromatic
#203A5C #30568A #4072B7 #6992CB #97B3DB

Accessibility & contrast

On white

4.87
#4072B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4072B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072B7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072B7#FFFFFF#000000##FFFFFF
##4072B71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5477BA
Deuteranopia (green-blind)
#436CB6
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4072b7;
/* rgb */ color: rgb(64, 114, 183);
/* oklch */ color: oklch(55.0% 0.121 256.9);
Tailwind
colors: {
  custom: {
    50: '#819acd',
    500: '#4072b7',
    950: '#000000',
  },
}
SCSS
$custom: #4072b7;
$custom-light: #819acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4072b7",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 183
  },
  "hsl": {
    "h": 214.79,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.12099,
    "h": 256.9
  },
  "luminance": 0.16544
}

Semantic roles & 50–950 ramp

primary
#4072B7
secondary
#C6AE8D
accent
#9F50D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4072B7

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

Preview Lab → · Contrast checker → · Palette generator →

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