#4287CC#4287CC

#4287CC is a mid, vivid cyan. Relative luminance 0.228; OKLCH L 61.1% C 0.126 H 250.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4287CC
RGBrgb(66, 135, 204)
HSLhsl(210, 58%, 53%)
HSVhsv(210, 68%, 80%)
CMYKcmyk(67.6%, 33.8%, 0%, 20%)
CIE-LABlab(54.91, 0.44, -42.05)
CIE-LCHlch(54.91, 42.05, 270.60°)
OKLaboklab(61.06% -0.0419 -0.1192)
OKLCHoklch(61.06% 0.126 250.7)
XYZxyz(21.8058, 22.8436, 60.3751)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4287CC #CC8742
analogous
#42CCCC #4287CC #4242CC
triadic
#4287CC #CC4287 #87CC42
tetradic
#4287CC #CC42CC #CC8742 #42CC42
square
#4287CC #CC42CC #CC8742 #42CC42
split-complementary
#4287CC #CC4242 #CCCC42
monochromatic
#1F4A74 #2C68A4 #4287CC #72A6D9 #A2C4E6

Accessibility & contrast

On white

3.77
#4287CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4287CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4287CC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4287CC#FFFFFF#000000##000000
##4287CC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BCF
Deuteranopia (green-blind)
#557DCB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4287cc;
/* rgb */ color: rgb(66, 135, 204);
/* oklch */ color: oklch(61.1% 0.126 250.7);
Tailwind
colors: {
  custom: {
    50: '#85a9dc',
    500: '#4287cc',
    950: '#000000',
  },
}
SCSS
$custom: #4287cc;
$custom-light: #85a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4287cc",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 210,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.12637,
    "h": 250.7
  },
  "luminance": 0.22846
}

Semantic roles & 50–950 ramp

primary
#4287CC
secondary
#D3B597
accent
#9447E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4287CC

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

Preview Lab → · Contrast checker → · Palette generator →

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