#4087E3#4087E3

#4087E3 is a light, vivid cyan. Relative luminance 0.240; OKLCH L 62.3% C 0.156 H 256.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4087E3
RGBrgb(64, 135, 227)
HSLhsl(214, 74%, 57%)
HSVhsv(214, 72%, 89%)
CMYKcmyk(71.8%, 40.5%, 0%, 11%)
CIE-LABlab(56.05, 8.25, -53.18)
CIE-LCHlch(56.05, 53.81, 278.82°)
OKLaboklab(62.32% -0.0376 -0.1518)
OKLCHoklch(62.32% 0.156 256.1)
XYZxyz(24.6384, 23.9613, 75.9846)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087E3 #E39C40
analogous
#40D9E3 #4087E3 #4B40E3
triadic
#4087E3 #E34087 #87E340
tetradic
#4087E3 #E340D9 #E39C40 #40E34B
square
#4087E3 #E340D9 #E39C40 #40E34B
split-complementary
#4087E3 #E34B40 #D9E340
monochromatic
#164C93 #1D68C8 #4087E3 #75A9EB #ABCAF3

Accessibility & contrast

On white

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

On black

5.79
#4087E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087E3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087E3#FFFFFF#000000##000000
##4087E31.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8FE7
Deuteranopia (green-blind)
#417FE1
Tritanopia (blue-blind)
#009DAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4087e3;
/* rgb */ color: rgb(64, 135, 227);
/* oklch */ color: oklch(62.3% 0.156 256.1);
Tailwind
colors: {
  custom: {
    50: '#88a9ec',
    500: '#4087e3',
    950: '#000000',
  },
}
SCSS
$custom: #4087e3;
$custom-light: #88a9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4087e3",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 227
  },
  "hsl": {
    "h": 213.865,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62317,
    "c": 0.15644,
    "h": 256.1
  },
  "luminance": 0.23964
}

Semantic roles & 50–950 ramp

primary
#4087E3
secondary
#E1C49E
accent
#A037F1
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4087E3

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

Preview Lab → · Contrast checker → · Palette generator →

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