#287FA3#287FA3

#287FA3 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.097 H 230.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#287FA3
RGBrgb(40, 127, 163)
HSLhsl(198, 61%, 40%)
HSVhsv(198, 75%, 64%)
CMYKcmyk(75.5%, 22.1%, 0%, 36.1%)
CIE-LABlab(49.82, -13.09, -26.55)
CIE-LCHlch(49.82, 29.60, 243.75°)
OKLaboklab(56.18% -0.0624 -0.0746)
OKLCHoklch(56.18% 0.097 230.1)
XYZxyz(15.0726, 18.2724, 37.3758)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FA3 #A34C28
analogous
#28A38A #287FA3 #2842A3
triadic
#287FA3 #A3287F #7FA328
tetradic
#287FA3 #8A28A3 #A34C28 #42A328
square
#287FA3 #8A28A3 #A34C28 #42A328
split-complementary
#287FA3 #A32842 #A38A28
monochromatic
#103241 #1C5972 #287FA3 #3AA3CF #6BBADB

Accessibility & contrast

On white

4.51
#287FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##287FA3#FFFFFF#000000##000000
##287FA31.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287fa3;
/* rgb */ color: rgb(40, 127, 163);
/* oklch */ color: oklch(56.2% 0.097 230.1);
Tailwind
colors: {
  custom: {
    50: '#74a4be',
    500: '#287fa3',
    950: '#000000',
  },
}
SCSS
$custom: #287fa3;
$custom-light: #74a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#287fa3",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 197.561,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.09724,
    "h": 230.1
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#287FA3
secondary
#C18066
accent
#7344E4
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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