#4287D5#4287D5

#4287D5 is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.6% C 0.138 H 253.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4287D5
RGBrgb(66, 135, 213)
HSLhsl(212, 64%, 55%)
HSVhsv(212, 69%, 84%)
CMYKcmyk(69%, 36.6%, 0%, 16.5%)
CIE-LABlab(55.37, 3.58, -46.41)
CIE-LCHlch(55.37, 46.54, 274.41°)
OKLaboklab(61.56% -0.0395 -0.132)
OKLCHoklch(61.56% 0.138 253.3)
XYZxyz(22.9165, 23.2879, 66.2252)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4287D5 #D59042
analogous
#42D0D5 #4287D5 #4742D5
triadic
#4287D5 #D54287 #87D542
tetradic
#4287D5 #D542D0 #D59042 #42D547
square
#4287D5 #D542D0 #D59042 #42D547
split-complementary
#4287D5 #D54742 #D0D542
monochromatic
#1C4B80 #2869B2 #4287D5 #74A7E0 #A6C7EB

Accessibility & contrast

On white

3.71
#4287D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4287D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4287D5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4287D5#FFFFFF#000000##000000
##4287D51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648CD8
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4287d5;
/* rgb */ color: rgb(66, 135, 213);
/* oklch */ color: oklch(61.6% 0.138 253.3);
Tailwind
colors: {
  custom: {
    50: '#86a9e2',
    500: '#4287d5',
    950: '#000000',
  },
}
SCSS
$custom: #4287d5;
$custom-light: #86a9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4287d5",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 211.837,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.13775,
    "h": 253.3
  },
  "luminance": 0.2329
}

Semantic roles & 50–950 ramp

primary
#4287D5
secondary
#D8BB9A
accent
#9941E7
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4287D5

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

Preview Lab → · Contrast checker → · Palette generator →

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