#4087E8#4087E8

#4087E8 is a light, vivid cyan. Relative luminance 0.242; OKLCH L 62.6% C 0.163 H 257.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4087E8
RGBrgb(64, 135, 232)
HSLhsl(215, 79%, 58%)
HSVhsv(215, 72%, 91%)
CMYKcmyk(72.4%, 41.8%, 0%, 9%)
CIE-LABlab(56.33, 10.04, -55.52)
CIE-LCHlch(56.33, 56.42, 280.25°)
OKLaboklab(62.63% -0.0366 -0.1587)
OKLCHoklch(62.63% 0.163 257)
XYZxyz(25.3385, 24.2413, 79.6719)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087E8 #E8A140
analogous
#40DBE8 #4087E8 #4D40E8
triadic
#4087E8 #E84087 #87E840
tetradic
#4087E8 #E840DB #E8A140 #40E84D
square
#4087E8 #E840DB #E8A140 #40E84D
split-complementary
#4087E8 #E84D40 #DBE840
monochromatic
#134C9B #1967D2 #4087E8 #77A9EF #ADCCF5

Accessibility & contrast

On white

3.59
#4087E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#4087E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087E8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087E8#FFFFFF#000000##000000
##4087E81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEC
Deuteranopia (green-blind)
#3B80E6
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4087e8;
/* rgb */ color: rgb(64, 135, 232);
/* oklch */ color: oklch(62.6% 0.163 257.0);
Tailwind
colors: {
  custom: {
    50: '#89a9f0',
    500: '#4087e8',
    950: '#000000',
  },
}
SCSS
$custom: #4087e8;
$custom-light: #89a9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4087e8",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 214.643,
    "s": 78.505,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62625,
    "c": 0.16289,
    "h": 257
  },
  "luminance": 0.24244
}

Semantic roles & 50–950 ramp

primary
#4087E8
secondary
#E3C7A0
accent
#A333F5
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4087E8

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

Preview Lab → · Contrast checker → · Palette generator →

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