#4087AF#4087AF

#4087AF is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.5% C 0.094 H 236.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4087AF
RGBrgb(64, 135, 175)
HSLhsl(202, 46%, 47%)
HSVhsv(202, 63%, 69%)
CMYKcmyk(63.4%, 22.9%, 0%, 31.4%)
CIE-LABlab(53.50, -9.75, -27.72)
CIE-LCHlch(53.50, 29.39, 250.62°)
OKLaboklab(59.49% -0.0523 -0.0777)
OKLCHoklch(59.49% 0.094 236)
XYZxyz(18.5132, 21.5112, 43.7256)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087AF #AF6840
analogous
#40AFA0 #4087AF #404FAF
triadic
#4087AF #AF4087 #87AF40
tetradic
#4087AF #A040AF #AF6840 #4FAF40
square
#4087AF #A040AF #AF6840 #4FAF40
split-complementary
#4087AF #AF404F #AFA040
monochromatic
#1F4255 #306482 #4087AF #65A4C7 #92BED7

Accessibility & contrast

On white

3.96
#4087AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4087AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4087AF#FFFFFF#000000##000000
##4087AF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486B1
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4087af;
/* rgb */ color: rgb(64, 135, 175);
/* oklch */ color: oklch(59.5% 0.094 236.0);
Tailwind
colors: {
  custom: {
    50: '#80a9c7',
    500: '#4087af',
    950: '#000000',
  },
}
SCSS
$custom: #4087af;
$custom-light: #80a9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4087af",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 201.622,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.09368,
    "h": 236
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#4087AF
secondary
#C39D88
accent
#8152D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #4087AF

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

Preview Lab → · Contrast checker → · Palette generator →

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