#287FA6#287FA6

#287FA6 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.100 H 232.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#287FA6
RGBrgb(40, 127, 166)
HSLhsl(199, 61%, 40%)
HSVhsv(199, 76%, 65%)
CMYKcmyk(75.9%, 23.5%, 0%, 34.9%)
CIE-LABlab(49.96, -12.03, -28.09)
CIE-LCHlch(49.96, 30.56, 246.81°)
OKLaboklab(56.33% -0.0613 -0.079)
OKLCHoklch(56.33% 0.1 232.2)
XYZxyz(15.3446, 18.3812, 38.8082)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FA6 #A64F28
analogous
#28A68E #287FA6 #2840A6
triadic
#287FA6 #A6287F #7FA628
tetradic
#287FA6 #8E28A6 #A64F28 #40A628
square
#287FA6 #8E28A6 #A64F28 #40A628
split-complementary
#287FA6 #A62840 #A68E28
monochromatic
#103443 #1C5975 #287FA6 #3BA2D0 #6DB9DC

Accessibility & contrast

On white

4.49
#287FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#287FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FA6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FA6#FFFFFF#000000##000000
##287FA61.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA8
Deuteranopia (green-blind)
#5B72A5
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287fa6;
/* rgb */ color: rgb(40, 127, 166);
/* oklch */ color: oklch(56.3% 0.100 232.2);
Tailwind
colors: {
  custom: {
    50: '#75a4c0',
    500: '#287fa6',
    950: '#000000',
  },
}
SCSS
$custom: #287fa6;
$custom-light: #75a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#287fa6",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 198.571,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.10001,
    "h": 232.2
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#287FA6
secondary
#C28467
accent
#7544E4
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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