#287EAF#287EAF

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

Color values

HEX#287EAF
RGBrgb(40, 126, 175)
HSLhsl(202, 63%, 42%)
HSVhsv(202, 77%, 69%)
CMYKcmyk(77.1%, 28%, 0%, 31.4%)
CIE-LABlab(50.06, -8.24, -33.15)
CIE-LCHlch(50.06, 34.16, 256.03°)
OKLaboklab(56.54% -0.0572 -0.0937)
OKLCHoklch(56.54% 0.11 238.6)
XYZxyz(16.0707, 18.4661, 43.2664)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287EAF #AF5928
analogous
#28AF9D #287EAF #283AAF
triadic
#287EAF #AF287E #7EAF28
tetradic
#287EAF #9D28AF #AF5928 #3AAF28
square
#287EAF #9D28AF #AF5928 #3AAF28
split-complementary
#287EAF #AF283A #AF9D28
monochromatic
#11364B #1D5A7D #287EAF #419ED4 #73B8DF

Accessibility & contrast

On white

4.47
#287EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#287EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287EAF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287EAF#FFFFFF#000000##000000
##287EAF1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#677EB1
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #287eaf;
/* rgb */ color: rgb(40, 126, 175);
/* oklch */ color: oklch(56.5% 0.110 238.6);
Tailwind
colors: {
  custom: {
    50: '#76a3c7',
    500: '#287eaf',
    950: '#000000',
  },
}
SCSS
$custom: #287eaf;
$custom-light: #76a3c7;
$custom-dark: #000000;
JSON
{
  "hex": "#287eaf",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 175
  },
  "hsl": {
    "h": 201.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.10974,
    "h": 238.6
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#287EAF
secondary
#C68D6D
accent
#7D42E6
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #287EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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