#4071AB#4071AB

#4071AB is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.106 H 253.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4071AB
RGBrgb(64, 113, 171)
HSLhsl(213, 46%, 46%)
HSVhsv(213, 63%, 67%)
CMYKcmyk(62.6%, 33.9%, 0%, 32.9%)
CIE-LABlab(46.76, 1.86, -35.94)
CIE-LCHlch(46.76, 35.99, 272.97°)
OKLaboklab(54.11% -0.0296 -0.1017)
OKLCHoklch(54.11% 0.106 253.8)
XYZxyz(15.3675, 15.8391, 40.7676)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071AB #AB7A40
analogous
#40A6AB #4071AB #4440AB
triadic
#4071AB #AB4071 #71AB40
tetradic
#4071AB #AB40A6 #AB7A40 #40AB44
square
#4071AB #AB40A6 #AB7A40 #40AB44
split-complementary
#4071AB #AB4440 #A6AB40
monochromatic
#1F3652 #2F547E #4071AB #6390C5 #90B0D5

Accessibility & contrast

On white

5.04
#4071AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4071AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071AB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071AB#FFFFFF#000000##FFFFFF
##4071AB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#4A6AAA
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4071ab;
/* rgb */ color: rgb(64, 113, 171);
/* oklch */ color: oklch(54.1% 0.106 253.8);
Tailwind
colors: {
  custom: {
    50: '#7f99c4',
    500: '#4071ab',
    950: '#000000',
  },
}
SCSS
$custom: #4071ab;
$custom-light: #7f99c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4071ab",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 212.523,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.10589,
    "h": 253.8
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#4071AB
secondary
#C1A686
accent
#9953D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4071AB

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

Preview Lab → · Contrast checker → · Palette generator →

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