#4087C7#4087C7

#4087C7 is a mid, vivid cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.121 H 248.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4087C7
RGBrgb(64, 135, 199)
HSLhsl(208, 55%, 52%)
HSVhsv(208, 68%, 78%)
CMYKcmyk(67.8%, 32.2%, 0%, 22%)
CIE-LABlab(54.59, -1.62, -39.72)
CIE-LCHlch(54.59, 39.75, 267.67°)
OKLaboklab(60.71% -0.0446 -0.1125)
OKLCHoklch(60.71% 0.121 248.4)
XYZxyz(21.0833, 22.5392, 57.2611)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087C7 #C78040
analogous
#40C7C3 #4087C7 #4044C7
triadic
#4087C7 #C74087 #87C740
tetradic
#4087C7 #C340C7 #C78040 #44C740
square
#4087C7 #C340C7 #C78040 #44C740
split-complementary
#4087C7 #C74044 #C7C340
monochromatic
#20486D #2E689C #4087C7 #6FA5D5 #9FC2E3

Accessibility & contrast

On white

3.81
#4087C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4087C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4087C7#FFFFFF#000000##000000
##4087C71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ACA
Deuteranopia (green-blind)
#587DC6
Tritanopia (blue-blind)
#00969E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4087c7;
/* rgb */ color: rgb(64, 135, 199);
/* oklch */ color: oklch(60.7% 0.121 248.4);
Tailwind
colors: {
  custom: {
    50: '#83a9d8',
    500: '#4087c7',
    950: '#000000',
  },
}
SCSS
$custom: #4087c7;
$custom-light: #83a9d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4087c7",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 199
  },
  "hsl": {
    "h": 208.444,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.12099,
    "h": 248.4
  },
  "luminance": 0.22541
}

Semantic roles & 50–950 ramp

primary
#4087C7
secondary
#CFB094
accent
#904ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4087C7

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

Preview Lab → · Contrast checker → · Palette generator →

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