#4087A2#4087A2

#4087A2 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.082 H 225.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4087A2
RGBrgb(64, 135, 162)
HSLhsl(197, 43%, 44%)
HSVhsv(197, 60%, 64%)
CMYKcmyk(60.5%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.98, -13.97, -21.04)
CIE-LCHlch(52.98, 25.26, 236.43°)
OKLaboklab(58.89% -0.0572 -0.0586)
OKLCHoklch(58.89% 0.082 225.7)
XYZxyz(17.2974, 21.0249, 37.3221)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087A2 #A25B40
analogous
#40A28C #4087A2 #4056A2
triadic
#4087A2 #A24087 #87A240
tetradic
#4087A2 #8C40A2 #A25B40 #56A240
square
#4087A2 #8C40A2 #A25B40 #56A240
split-complementary
#4087A2 #A24056 #A28C40
monochromatic
#1D3E4A #2F6276 #4087A2 #5FA5C0 #8BBED1

Accessibility & contrast

On white

4.03
#4087A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4087A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4087A2#FFFFFF#000000##000000
##4087A21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A3
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#008F90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4087a2;
/* rgb */ color: rgb(64, 135, 162);
/* oklch */ color: oklch(58.9% 0.082 225.7);
Tailwind
colors: {
  custom: {
    50: '#7eaabd',
    500: '#4087a2',
    950: '#000000',
  },
}
SCSS
$custom: #4087a2;
$custom-light: #7eaabd;
$custom-dark: #000000;
JSON
{
  "hex": "#4087a2",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 196.531,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58891,
    "c": 0.08188,
    "h": 225.7
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

primary
#4087A2
secondary
#BC9282
accent
#7855D3
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #4087A2

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

Preview Lab → · Contrast checker → · Palette generator →

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