#4087E2#4087E2

#4087E2 is a light, vivid cyan. Relative luminance 0.239; OKLCH L 62.3% C 0.155 H 255.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4087E2
RGBrgb(64, 135, 226)
HSLhsl(214, 74%, 57%)
HSVhsv(214, 72%, 89%)
CMYKcmyk(71.7%, 40.3%, 0%, 11.4%)
CIE-LABlab(55.99, 7.89, -52.71)
CIE-LCHlch(55.99, 53.29, 278.52°)
OKLaboklab(62.26% -0.0378 -0.1504)
OKLCHoklch(62.26% 0.155 255.9)
XYZxyz(24.5007, 23.9062, 75.2599)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087E2 #E29B40
analogous
#40D8E2 #4087E2 #4A40E2
triadic
#4087E2 #E24087 #87E240
tetradic
#4087E2 #E240D8 #E29B40 #40E24A
square
#4087E2 #E240D8 #E29B40 #40E24A
split-complementary
#4087E2 #E24A40 #D8E240
monochromatic
#164C92 #1E68C7 #4087E2 #75A8EA #AACAF2

Accessibility & contrast

On white

3.63
#4087E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#4087E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087E2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087E2#FFFFFF#000000##000000
##4087E21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#427FE0
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4087e2;
/* rgb */ color: rgb(64, 135, 226);
/* oklch */ color: oklch(62.3% 0.155 255.9);
Tailwind
colors: {
  custom: {
    50: '#88a9eb',
    500: '#4087e2',
    950: '#000000',
  },
}
SCSS
$custom: #4087e2;
$custom-light: #88a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4087e2",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 213.704,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62256,
    "c": 0.15514,
    "h": 255.9
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#4087E2
secondary
#E0C39E
accent
#9F38F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4087E2

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

Preview Lab → · Contrast checker → · Palette generator →

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