#4072B3#4072B3

#4072B3 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.8% C 0.116 H 255.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4072B3
RGBrgb(64, 114, 179)
HSLhsl(214, 47%, 48%)
HSVhsv(214, 64%, 70%)
CMYKcmyk(64.2%, 36.3%, 0%, 29.8%)
CIE-LABlab(47.47, 4.03, -39.49)
CIE-LCHlch(47.47, 39.69, 275.83°)
OKLaboklab(54.79% -0.0285 -0.112)
OKLCHoklch(54.79% 0.116 255.7)
XYZxyz(16.2654, 16.3777, 44.9431)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072B3 #B38140
analogous
#40ABB3 #4072B3 #4740B3
triadic
#4072B3 #B34072 #72B340
tetradic
#4072B3 #B340AB #B38140 #40B347
square
#4072B3 #B340AB #B38140 #40B347
split-complementary
#4072B3 #B34740 #ABB340
monochromatic
#203959 #305586 #4072B3 #6792C9 #94B2D9

Accessibility & contrast

On white

4.91
#4072B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4072B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072B3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072B3#FFFFFF#000000##FFFFFF
##4072B31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5677B6
Deuteranopia (green-blind)
#466CB2
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4072b3;
/* rgb */ color: rgb(64, 114, 179);
/* oklch */ color: oklch(54.8% 0.116 255.7);
Tailwind
colors: {
  custom: {
    50: '#809aca',
    500: '#4072b3',
    950: '#000000',
  },
}
SCSS
$custom: #4072b3;
$custom-light: #809aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4072b3",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 179
  },
  "hsl": {
    "h": 213.913,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.11559,
    "h": 255.7
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#4072B3
secondary
#C4AB8A
accent
#9D51D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4072B3

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

Preview Lab → · Contrast checker → · Palette generator →

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