#287FA5#287FA5

#287FA5 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.099 H 231.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#287FA5
RGBrgb(40, 127, 165)
HSLhsl(198, 61%, 40%)
HSVhsv(198, 76%, 65%)
CMYKcmyk(75.8%, 23%, 0%, 35.3%)
CIE-LABlab(49.91, -12.39, -27.57)
CIE-LCHlch(49.91, 30.23, 245.81°)
OKLaboklab(56.28% -0.0616 -0.0775)
OKLCHoklch(56.28% 0.099 231.5)
XYZxyz(15.2532, 18.3447, 38.3270)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FA5 #A54E28
analogous
#28A58C #287FA5 #2840A5
triadic
#287FA5 #A5287F #7FA528
tetradic
#287FA5 #8C28A5 #A54E28 #40A528
square
#287FA5 #8C28A5 #A54E28 #40A528
split-complementary
#287FA5 #A52840 #A58C28
monochromatic
#103342 #1C5974 #287FA5 #3BA2CF #6CBADB

Accessibility & contrast

On white

4.50
#287FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#287FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FA5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FA5#FFFFFF#000000##000000
##287FA51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA7
Deuteranopia (green-blind)
#5B71A4
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287fa5;
/* rgb */ color: rgb(40, 127, 165);
/* oklch */ color: oklch(56.3% 0.099 231.5);
Tailwind
colors: {
  custom: {
    50: '#74a4c0',
    500: '#287fa5',
    950: '#000000',
  },
}
SCSS
$custom: #287fa5;
$custom-light: #74a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#287fa5",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 198.24,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.09907,
    "h": 231.5
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#287FA5
secondary
#C28367
accent
#7444E4
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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