#4071AC#4071AC

#4071AC is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.107 H 254.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4071AC
RGBrgb(64, 113, 172)
HSLhsl(213, 46%, 46%)
HSVhsv(213, 63%, 67%)
CMYKcmyk(62.8%, 34.3%, 0%, 32.5%)
CIE-LABlab(46.81, 2.21, -36.44)
CIE-LCHlch(46.81, 36.51, 273.47°)
OKLaboklab(54.16% -0.0293 -0.1031)
OKLCHoklch(54.16% 0.107 254.2)
XYZxyz(15.4632, 15.8774, 41.2715)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071AC #AC7B40
analogous
#40A7AC #4071AC #4540AC
triadic
#4071AC #AC4071 #71AC40
tetradic
#4071AC #AC40A7 #AC7B40 #40AC45
square
#4071AC #AC40A7 #AC7B40 #40AC45
split-complementary
#4071AC #AC4540 #A7AC40
monochromatic
#1F3653 #2F547F #4071AC #6490C5 #91B0D6

Accessibility & contrast

On white

5.03
#4071AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4071AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071AC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071AC#FFFFFF#000000##FFFFFF
##4071AC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5875AE
Deuteranopia (green-blind)
#496AAB
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4071ac;
/* rgb */ color: rgb(64, 113, 172);
/* oklch */ color: oklch(54.2% 0.107 254.2);
Tailwind
colors: {
  custom: {
    50: '#7f99c5',
    500: '#4071ac',
    950: '#000000',
  },
}
SCSS
$custom: #4071ac;
$custom-light: #7f99c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4071ac",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 212.778,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.10723,
    "h": 254.2
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#4071AC
secondary
#C1A787
accent
#9A52D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4071AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4071AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva