#287FA4#287FA4

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

Color values

HEX#287FA4
RGBrgb(40, 127, 164)
HSLhsl(198, 61%, 40%)
HSVhsv(198, 76%, 64%)
CMYKcmyk(75.6%, 22.6%, 0%, 35.7%)
CIE-LABlab(49.87, -12.74, -27.06)
CIE-LCHlch(49.87, 29.91, 244.79°)
OKLaboklab(56.23% -0.062 -0.0761)
OKLCHoklch(56.23% 0.098 230.8)
XYZxyz(15.1626, 18.3084, 37.8495)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FA4 #A44D28
analogous
#28A48B #287FA4 #2841A4
triadic
#287FA4 #A4287F #7FA428
tetradic
#287FA4 #8B28A4 #A44D28 #41A428
square
#287FA4 #8B28A4 #A44D28 #41A428
split-complementary
#287FA4 #A42841 #A48B28
monochromatic
#103342 #1C5973 #287FA4 #3AA3CF #6BBADB

Accessibility & contrast

On white

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

On black

4.66
#287FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FA4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FA4#FFFFFF#000000##000000
##287FA41.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA6
Deuteranopia (green-blind)
#5C71A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287fa4;
/* rgb */ color: rgb(40, 127, 164);
/* oklch */ color: oklch(56.2% 0.098 230.8);
Tailwind
colors: {
  custom: {
    50: '#74a4bf',
    500: '#287fa4',
    950: '#000000',
  },
}
SCSS
$custom: #287fa4;
$custom-light: #74a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#287fa4",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 197.903,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.09815,
    "h": 230.8
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #287FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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