#287FC4#287FC4

#287FC4 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 57.9% C 0.133 H 247.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#287FC4
RGBrgb(40, 127, 196)
HSLhsl(207, 66%, 46%)
HSVhsv(207, 80%, 77%)
CMYKcmyk(79.6%, 35.2%, 0%, 23.1%)
CIE-LABlab(51.40, -1.13, -43.11)
CIE-LCHlch(51.40, 43.12, 268.49°)
OKLaboklab(57.94% -0.0517 -0.1227)
OKLCHoklch(57.94% 0.133 247.2)
XYZxyz(18.4244, 19.6131, 55.0285)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FC4 #C46D28
analogous
#28C4BB #287FC4 #2831C4
triadic
#287FC4 #C4287F #7FC428
tetradic
#287FC4 #BB28C4 #C46D28 #31C428
square
#287FC4 #BB28C4 #C46D28 #31C428
split-complementary
#287FC4 #C42831 #C4BB28
monochromatic
#133D5E #1E5E91 #287FC4 #4E9DDB #81B9E5

Accessibility & contrast

On white

4.27
#287FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#287FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FC4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FC4#FFFFFF#000000##000000
##287FC41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C7
Deuteranopia (green-blind)
#4874C3
Tritanopia (blue-blind)
#009098
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #287fc4;
/* rgb */ color: rgb(40, 127, 196);
/* oklch */ color: oklch(57.9% 0.133 247.2);
Tailwind
colors: {
  custom: {
    50: '#7aa3d6',
    500: '#287fc4',
    950: '#000000',
  },
}
SCSS
$custom: #287fc4;
$custom-light: #7aa3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#287fc4",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 206.538,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.13315,
    "h": 247.2
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#287FC4
secondary
#CE9F7A
accent
#8A3FE9
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #287FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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