#287FA8#287FA8

#287FA8 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.4% C 0.102 H 233.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#287FA8
RGBrgb(40, 127, 168)
HSLhsl(199, 62%, 41%)
HSVhsv(199, 76%, 66%)
CMYKcmyk(76.2%, 24.4%, 0%, 34.1%)
CIE-LABlab(50.04, -11.33, -29.11)
CIE-LCHlch(50.04, 31.24, 248.74°)
OKLaboklab(56.43% -0.0606 -0.082)
OKLCHoklch(56.43% 0.102 233.5)
XYZxyz(15.5295, 18.4552, 39.7819)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FA8 #A85128
analogous
#28A891 #287FA8 #283FA8
triadic
#287FA8 #A8287F #7FA828
tetradic
#287FA8 #9128A8 #A85128 #3FA828
square
#287FA8 #9128A8 #A85128 #3FA828
split-complementary
#287FA8 #A8283F #A89128
monochromatic
#103445 #1C5A77 #287FA8 #3DA1D1 #6EB9DC

Accessibility & contrast

On white

4.48
#287FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#287FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FA8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FA8#FFFFFF#000000##000000
##287FA81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAA
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287fa8;
/* rgb */ color: rgb(40, 127, 168);
/* oklch */ color: oklch(56.4% 0.102 233.5);
Tailwind
colors: {
  custom: {
    50: '#75a4c2',
    500: '#287fa8',
    950: '#000000',
  },
}
SCSS
$custom: #287fa8;
$custom-light: #75a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#287fa8",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 199.219,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.10192,
    "h": 233.5
  },
  "luminance": 0.18457
}

Semantic roles & 50–950 ramp

primary
#287FA8
secondary
#C38669
accent
#7743E5
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #287FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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