#4287D4#4287D4

#4287D4 is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.5% C 0.136 H 253.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4287D4
RGBrgb(66, 135, 212)
HSLhsl(212, 63%, 55%)
HSVhsv(212, 69%, 83%)
CMYKcmyk(68.9%, 36.3%, 0%, 16.9%)
CIE-LABlab(55.32, 3.23, -45.92)
CIE-LCHlch(55.32, 46.04, 274.02°)
OKLaboklab(61.5% -0.0398 -0.1305)
OKLCHoklch(61.5% 0.136 253.1)
XYZxyz(22.7900, 23.2373, 65.5588)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4287D4 #D48F42
analogous
#42D0D4 #4287D4 #4642D4
triadic
#4287D4 #D44287 #87D442
tetradic
#4287D4 #D442D0 #D48F42 #42D446
square
#4287D4 #D442D0 #D48F42 #42D446
split-complementary
#4287D4 #D44642 #D0D442
monochromatic
#1D4B7F #2869B1 #4287D4 #74A7DF #A6C6EB

Accessibility & contrast

On white

3.72
#4287D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#4287D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4287D4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4287D4#FFFFFF#000000##000000
##4287D41.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#648CD7
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#0099A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4287d4;
/* rgb */ color: rgb(66, 135, 212);
/* oklch */ color: oklch(61.5% 0.136 253.1);
Tailwind
colors: {
  custom: {
    50: '#86a9e1',
    500: '#4287d4',
    950: '#000000',
  },
}
SCSS
$custom: #4287d4;
$custom-light: #86a9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4287d4",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 211.644,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61504,
    "c": 0.13647,
    "h": 253.1
  },
  "luminance": 0.2324
}

Semantic roles & 50–950 ramp

primary
#4287D4
secondary
#D8BB9A
accent
#9842E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4287D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4287D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva