#287FE2#287FE2

#287FE2 is a mid, vivid cyan. Relative luminance 0.211; OKLCH L 59.8% C 0.171 H 254.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#287FE2
RGBrgb(40, 127, 226)
HSLhsl(212, 76%, 52%)
HSVhsv(212, 82%, 89%)
CMYKcmyk(82.3%, 43.8%, 0%, 11.4%)
CIE-LABlab(53.08, 10.11, -57.41)
CIE-LCHlch(53.08, 58.29, 279.99°)
OKLaboklab(59.8% -0.0446 -0.1647)
OKLCHoklch(59.8% 0.171 254.8)
XYZxyz(22.1868, 21.1181, 74.8436)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FE2 #E28B28
analogous
#28DCE2 #287FE2 #2E28E2
triadic
#287FE2 #E2287F #7FE228
tetradic
#287FE2 #E228DC #E28B28 #28E22E
square
#287FE2 #E228DC #E28B28 #28E22E
split-complementary
#287FE2 #E22E28 #DCE228
monochromatic
#11447F #1861B4 #287FE2 #5E9FE9 #94BFF1

Accessibility & contrast

On white

4.02
#287FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#287FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FE2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FE2#FFFFFF#000000##000000
##287FE21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B88E6
Deuteranopia (green-blind)
#2377E0
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #287fe2;
/* rgb */ color: rgb(40, 127, 226);
/* oklch */ color: oklch(59.8% 0.171 254.8);
Tailwind
colors: {
  custom: {
    50: '#80a3ec',
    500: '#287fe2',
    950: '#000000',
  },
}
SCSS
$custom: #287fe2;
$custom-light: #80a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#287fe2",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 211.935,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.17063,
    "h": 254.8
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#287FE2
secondary
#DCB68A
accent
#9A35F3
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0F16
muted
#7D7E84

Preview Lab

Preview with #287FE2

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

Preview Lab → · Contrast checker → · Palette generator →

#287FE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva