#287FAF#287FAF

#287FAF is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.109 H 237.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#287FAF
RGBrgb(40, 127, 175)
HSLhsl(201, 63%, 42%)
HSVhsv(201, 77%, 69%)
CMYKcmyk(77.1%, 27.4%, 0%, 31.4%)
CIE-LABlab(50.36, -8.82, -32.67)
CIE-LCHlch(50.36, 33.84, 254.89°)
OKLaboklab(56.79% -0.0581 -0.0923)
OKLCHoklch(56.79% 0.109 237.8)
XYZxyz(16.1992, 18.7231, 43.3093)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FAF #AF5828
analogous
#28AF9B #287FAF #283CAF
triadic
#287FAF #AF287F #7FAF28
tetradic
#287FAF #9B28AF #AF5828 #3CAF28
square
#287FAF #9B28AF #AF5828 #3CAF28
split-complementary
#287FAF #AF283C #AF9B28
monochromatic
#11374B #1D5B7D #287FAF #419FD4 #73B8DF

Accessibility & contrast

On white

4.43
#287FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#287FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FAF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FAF#FFFFFF#000000##000000
##287FAF1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB1
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #287faf;
/* rgb */ color: rgb(40, 127, 175);
/* oklch */ color: oklch(56.8% 0.109 237.8);
Tailwind
colors: {
  custom: {
    50: '#76a4c7',
    500: '#287faf',
    950: '#000000',
  },
}
SCSS
$custom: #287faf;
$custom-light: #76a4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#287faf",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 201.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.10906,
    "h": 237.8
  },
  "luminance": 0.18725
}

Semantic roles & 50–950 ramp

primary
#287FAF
secondary
#C68C6D
accent
#7C42E6
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #287FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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