#4087AA#4087AA

#4087AA is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.3% C 0.089 H 232.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4087AA
RGBrgb(64, 135, 170)
HSLhsl(200, 45%, 46%)
HSVhsv(200, 62%, 67%)
CMYKcmyk(62.4%, 20.6%, 0%, 33.3%)
CIE-LABlab(53.30, -11.39, -25.17)
CIE-LCHlch(53.30, 27.63, 245.64°)
OKLaboklab(59.25% -0.0541 -0.0704)
OKLCHoklch(59.25% 0.089 232.4)
XYZxyz(18.0312, 21.3184, 41.1870)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087AA #AA6340
analogous
#40AA98 #4087AA #4052AA
triadic
#4087AA #AA4087 #87AA40
tetradic
#4087AA #9840AA #AA6340 #52AA40
square
#4087AA #9840AA #AA6340 #52AA40
split-complementary
#4087AA #AA4052 #AA9840
monochromatic
#1F4051 #2F647E #4087AA #63A4C4 #8FBED5

Accessibility & contrast

On white

3.99
#4087AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4087AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087AA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087AA#FFFFFF#000000##000000
##4087AA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685AC
Deuteranopia (green-blind)
#677BA9
Tritanopia (blue-blind)
#009093
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4087aa;
/* rgb */ color: rgb(64, 135, 170);
/* oklch */ color: oklch(59.3% 0.089 232.4);
Tailwind
colors: {
  custom: {
    50: '#7faac3',
    500: '#4087aa',
    950: '#000000',
  },
}
SCSS
$custom: #4087aa;
$custom-light: #7faac3;
$custom-dark: #000000;
JSON
{
  "hex": "#4087aa",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 199.811,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.59252,
    "c": 0.08879,
    "h": 232.4
  },
  "luminance": 0.2132
}

Semantic roles & 50–950 ramp

primary
#4087AA
secondary
#C09986
accent
#7E53D5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #4087AA

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

Preview Lab → · Contrast checker → · Palette generator →

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