#4072B2#4072B2

#4072B2 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.7% C 0.114 H 255.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4072B2
RGBrgb(64, 114, 178)
HSLhsl(214, 47%, 47%)
HSVhsv(214, 64%, 70%)
CMYKcmyk(64%, 36%, 0%, 30.2%)
CIE-LABlab(47.41, 3.68, -38.99)
CIE-LCHlch(47.41, 39.16, 275.40°)
OKLaboklab(54.73% -0.0287 -0.1106)
OKLCHoklch(54.73% 0.114 255.4)
XYZxyz(16.1647, 16.3374, 44.4124)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072B2 #B28040
analogous
#40ABB2 #4072B2 #4740B2
triadic
#4072B2 #B24072 #72B240
tetradic
#4072B2 #B240AB #B28040 #40B247
square
#4072B2 #B240AB #B28040 #40B247
split-complementary
#4072B2 #B24740 #ABB240
monochromatic
#203858 #305585 #4072B2 #6792C8 #94B2D8

Accessibility & contrast

On white

4.92
#4072B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4072B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072B2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072B2#FFFFFF#000000##FFFFFF
##4072B21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4072b2;
/* rgb */ color: rgb(64, 114, 178);
/* oklch */ color: oklch(54.7% 0.114 255.4);
Tailwind
colors: {
  custom: {
    50: '#809ac9',
    500: '#4072b2',
    950: '#000000',
  },
}
SCSS
$custom: #4072b2;
$custom-light: #809ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4072b2",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 178
  },
  "hsl": {
    "h": 213.684,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54734,
    "c": 0.11425,
    "h": 255.4
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#4072B2
secondary
#C4AA8A
accent
#9C51D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4072B2

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

Preview Lab → · Contrast checker → · Palette generator →

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