#4071AA#4071AA

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

Color values

HEX#4071AA
RGBrgb(64, 113, 170)
HSLhsl(212, 45%, 46%)
HSVhsv(212, 62%, 67%)
CMYKcmyk(62.4%, 33.5%, 0%, 33.3%)
CIE-LABlab(46.71, 1.52, -35.43)
CIE-LCHlch(46.71, 35.47, 272.45°)
OKLaboklab(54.05% -0.0298 -0.1002)
OKLCHoklch(54.05% 0.105 253.4)
XYZxyz(15.2726, 15.8011, 40.2675)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071AA #AA7940
analogous
#40A6AA #4071AA #4440AA
triadic
#4071AA #AA4071 #71AA40
tetradic
#4071AA #AA40A6 #AA7940 #40AA44
square
#4071AA #AA40A6 #AA7940 #40AA44
split-complementary
#4071AA #AA4440 #A6AA40
monochromatic
#1F3651 #2F537E #4071AA #6390C4 #8FB0D5

Accessibility & contrast

On white

5.05
#4071AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4071AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4071AA#FFFFFF#000000##FFFFFF
##4071AA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5974AC
Deuteranopia (green-blind)
#4A6AA9
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4071aa;
/* rgb */ color: rgb(64, 113, 170);
/* oklch */ color: oklch(54.1% 0.105 253.4);
Tailwind
colors: {
  custom: {
    50: '#7e99c3',
    500: '#4071aa',
    950: '#000000',
  },
}
SCSS
$custom: #4071aa;
$custom-light: #7e99c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4071aa",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 212.264,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54052,
    "c": 0.10455,
    "h": 253.4
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4071AA

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

Preview Lab → · Contrast checker → · Palette generator →

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