#4087C6#4087C6

#4087C6 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.120 H 248.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4087C6
RGBrgb(64, 135, 198)
HSLhsl(208, 54%, 51%)
HSVhsv(208, 68%, 78%)
CMYKcmyk(67.7%, 31.8%, 0%, 22.4%)
CIE-LABlab(54.55, -1.96, -39.23)
CIE-LCHlch(54.55, 39.28, 267.13°)
OKLaboklab(60.65% -0.0449 -0.111)
OKLCHoklch(60.65% 0.12 248)
XYZxyz(20.9675, 22.4930, 56.6517)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087C6 #C67F40
analogous
#40C6C2 #4087C6 #4044C6
triadic
#4087C6 #C64087 #87C640
tetradic
#4087C6 #C240C6 #C67F40 #44C640
square
#4087C6 #C240C6 #C67F40 #44C640
split-complementary
#4087C6 #C64044 #C6C240
monochromatic
#20486C #2E689B #4087C6 #6FA5D4 #9EC2E2

Accessibility & contrast

On white

3.82
#4087C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4087C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4087C6#FFFFFF#000000##000000
##4087C61.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8AC9
Deuteranopia (green-blind)
#587DC5
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4087c6;
/* rgb */ color: rgb(64, 135, 198);
/* oklch */ color: oklch(60.7% 0.120 248.0);
Tailwind
colors: {
  custom: {
    50: '#83a9d7',
    500: '#4087c6',
    950: '#000000',
  },
}
SCSS
$custom: #4087c6;
$custom-light: #83a9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4087c6",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 198
  },
  "hsl": {
    "h": 208.209,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.11977,
    "h": 248
  },
  "luminance": 0.22495
}

Semantic roles & 50–950 ramp

primary
#4087C6
secondary
#CEAF93
accent
#904ADD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4087C6

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

Preview Lab → · Contrast checker → · Palette generator →

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