#4087C5#4087C5

#4087C5 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.6% C 0.119 H 247.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4087C5
RGBrgb(64, 135, 197)
HSLhsl(208, 53%, 51%)
HSVhsv(208, 68%, 77%)
CMYKcmyk(67.5%, 31.5%, 0%, 22.7%)
CIE-LABlab(54.50, -2.31, -38.74)
CIE-LCHlch(54.50, 38.80, 266.59°)
OKLaboklab(60.6% -0.0452 -0.1096)
OKLCHoklch(60.6% 0.119 247.6)
XYZxyz(20.8526, 22.4470, 56.0462)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087C5 #C57E40
analogous
#40C5C0 #4087C5 #4044C5
triadic
#4087C5 #C54087 #87C540
tetradic
#4087C5 #C040C5 #C57E40 #44C540
square
#4087C5 #C040C5 #C57E40 #44C540
split-complementary
#4087C5 #C54044 #C5C040
monochromatic
#20486A #2F6899 #4087C5 #6FA4D3 #9EC2E2

Accessibility & contrast

On white

3.83
#4087C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4087C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4087C5#FFFFFF#000000##000000
##4087C51.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C8
Deuteranopia (green-blind)
#597DC4
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4087c5;
/* rgb */ color: rgb(64, 135, 197);
/* oklch */ color: oklch(60.6% 0.119 247.6);
Tailwind
colors: {
  custom: {
    50: '#83a9d7',
    500: '#4087c5',
    950: '#000000',
  },
}
SCSS
$custom: #4087c5;
$custom-light: #83a9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4087c5",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 197
  },
  "hsl": {
    "h": 207.97,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60598,
    "c": 0.11855,
    "h": 247.6
  },
  "luminance": 0.22449
}

Semantic roles & 50–950 ramp

primary
#4087C5
secondary
#CEAE93
accent
#8F4BDD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4087C5

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

Preview Lab → · Contrast checker → · Palette generator →

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