#287FA2#287FA2

#287FA2 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.1% C 0.096 H 229.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#287FA2
RGBrgb(40, 127, 162)
HSLhsl(197, 60%, 40%)
HSVhsv(197, 75%, 64%)
CMYKcmyk(75.3%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.78, -13.44, -26.03)
CIE-LCHlch(49.78, 29.30, 242.69°)
OKLaboklab(56.13% -0.0628 -0.0731)
OKLCHoklch(56.13% 0.096 229.3)
XYZxyz(14.9834, 18.2367, 36.9058)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FA2 #A24B28
analogous
#28A288 #287FA2 #2842A2
triadic
#287FA2 #A2287F #7FA228
tetradic
#287FA2 #8828A2 #A24B28 #42A228
square
#287FA2 #8828A2 #A24B28 #42A228
split-complementary
#287FA2 #A22842 #A28828
monochromatic
#103240 #1C5971 #287FA2 #39A3CE #6ABADA

Accessibility & contrast

On white

4.52
#287FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#287FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FA2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FA2#FFFFFF#000000##000000
##287FA21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #287fa2;
/* rgb */ color: rgb(40, 127, 162);
/* oklch */ color: oklch(56.1% 0.096 229.3);
Tailwind
colors: {
  custom: {
    50: '#74a4bd',
    500: '#287fa2',
    950: '#000000',
  },
}
SCSS
$custom: #287fa2;
$custom-light: #74a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#287fa2",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 197.213,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.09635,
    "h": 229.3
  },
  "luminance": 0.18238
}

Semantic roles & 50–950 ramp

primary
#287FA2
secondary
#C17F65
accent
#7244E4
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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