#287FA1#287FA1

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

Color values

HEX#287FA1
RGBrgb(40, 127, 161)
HSLhsl(197, 60%, 39%)
HSVhsv(197, 75%, 63%)
CMYKcmyk(75.2%, 21.1%, 0%, 36.9%)
CIE-LABlab(49.74, -13.79, -25.51)
CIE-LCHlch(49.74, 29.00, 241.61°)
OKLaboklab(56.08% -0.0631 -0.0716)
OKLCHoklch(56.08% 0.095 228.6)
XYZxyz(14.8949, 18.2013, 36.4395)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287FA1 #A14A28
analogous
#28A187 #287FA1 #2842A1
triadic
#287FA1 #A1287F #7FA128
tetradic
#287FA1 #8728A1 #A14A28 #42A128
square
#287FA1 #8728A1 #A14A28 #42A128
split-complementary
#287FA1 #A12842 #A18728
monochromatic
#10323F #1C5870 #287FA1 #39A4CE #6ABADA

Accessibility & contrast

On white

4.53
#287FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#287FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287FA1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287FA1#FFFFFF#000000##000000
##287FA11.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA3
Deuteranopia (green-blind)
#5D71A1
Tritanopia (blue-blind)
#00898A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #287fa1;
/* rgb */ color: rgb(40, 127, 161);
/* oklch */ color: oklch(56.1% 0.095 228.6);
Tailwind
colors: {
  custom: {
    50: '#74a4bd',
    500: '#287fa1',
    950: '#000000',
  },
}
SCSS
$custom: #287fa1;
$custom-light: #74a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#287fa1",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 196.86,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.09548,
    "h": 228.6
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

primary
#287FA1
secondary
#C07E65
accent
#7144E3
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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