#287FAA#287FAA

#287FAA is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.104 H 234.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#287FAA
RGBrgb(40, 127, 170)
HSLhsl(200, 62%, 41%)
HSVhsv(200, 76%, 67%)
CMYKcmyk(76.5%, 25.3%, 0%, 33.3%)
CIE-LABlab(50.13, -10.62, -30.13)
CIE-LCHlch(50.13, 31.95, 250.59°)
OKLaboklab(56.53% -0.0598 -0.0849)
OKLCHoklch(56.53% 0.104 234.8)
XYZxyz(15.7172, 18.5303, 40.7708)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FAA #AA5328
analogous
#28AA94 #287FAA #283EAA
triadic
#287FAA #AA287F #7FAA28
tetradic
#287FAA #9428AA #AA5328 #3EAA28
square
#287FAA #9428AA #AA5328 #3EAA28
split-complementary
#287FAA #AA283E #AA9428
monochromatic
#113547 #1C5A78 #287FAA #3EA1D2 #6FB9DD

Accessibility & contrast

On white

4.46
#287FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#287FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FAA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FAA#FFFFFF#000000##000000
##287FAA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAC
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287faa;
/* rgb */ color: rgb(40, 127, 170);
/* oklch */ color: oklch(56.5% 0.104 234.8);
Tailwind
colors: {
  custom: {
    50: '#75a4c3',
    500: '#287faa',
    950: '#000000',
  },
}
SCSS
$custom: #287faa;
$custom-light: #75a4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#287faa",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 199.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.1039,
    "h": 234.8
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#287FAA
secondary
#C4886A
accent
#7843E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #287FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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