#4287DB#4287DB

#4287DB is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.9% C 0.145 H 254.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4287DB
RGBrgb(66, 135, 219)
HSLhsl(213, 68%, 56%)
HSVhsv(213, 70%, 86%)
CMYKcmyk(69.9%, 38.4%, 0%, 14.1%)
CIE-LABlab(55.68, 5.69, -49.28)
CIE-LCHlch(55.68, 49.60, 276.59°)
OKLaboklab(61.91% -0.0381 -0.1404)
OKLCHoklch(61.91% 0.145 254.8)
XYZxyz(23.6922, 23.5981, 70.3104)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4287DB #DB9642
analogous
#42D4DB #4287DB #4942DB
triadic
#4287DB #DB4287 #87DB42
tetradic
#4287DB #DB42D4 #DB9642 #42DB49
square
#4287DB #DB42D4 #DB9642 #42DB49
split-complementary
#4287DB #DB4942 #D4DB42
monochromatic
#1A4C89 #2468BC #4287DB #75A8E5 #A9C8EF

Accessibility & contrast

On white

3.67
#4287DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#4287DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4287DB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4287DB#FFFFFF#000000##000000
##4287DB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDE
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#009BA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4287db;
/* rgb */ color: rgb(66, 135, 219);
/* oklch */ color: oklch(61.9% 0.145 254.8);
Tailwind
colors: {
  custom: {
    50: '#87a9e6',
    500: '#4287db',
    950: '#000000',
  },
}
SCSS
$custom: #4287db;
$custom-light: #87a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4287db",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 212.941,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61911,
    "c": 0.14544,
    "h": 254.8
  },
  "luminance": 0.23601
}

Semantic roles & 50–950 ramp

primary
#4287DB
secondary
#DCC09D
accent
#9C3DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4287DB

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

Preview Lab → · Contrast checker → · Palette generator →

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