#287EA5#287EA5

#287EA5 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.100 H 232.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#287EA5
RGBrgb(40, 126, 165)
HSLhsl(199, 61%, 40%)
HSVhsv(199, 76%, 65%)
CMYKcmyk(75.8%, 23.6%, 0%, 35.3%)
CIE-LABlab(49.60, -11.82, -28.05)
CIE-LCHlch(49.60, 30.44, 247.15°)
OKLaboklab(56.03% -0.0606 -0.0789)
OKLCHoklch(56.03% 0.1 232.5)
XYZxyz(15.1247, 18.0877, 38.2842)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287EA5 #A54F28
analogous
#28A58D #287EA5 #283FA5
triadic
#287EA5 #A5287E #7EA528
tetradic
#287EA5 #8D28A5 #A54F28 #3FA528
square
#287EA5 #8D28A5 #A54F28 #3FA528
split-complementary
#287EA5 #A5283F #A58D28
monochromatic
#103342 #1C5874 #287EA5 #3BA1CF #6CB9DB

Accessibility & contrast

On white

4.55
#287EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#287EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287EA5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287EA5#FFFFFF#000000##000000
##287EA51.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA7
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #287ea5;
/* rgb */ color: rgb(40, 126, 165);
/* oklch */ color: oklch(56.0% 0.100 232.5);
Tailwind
colors: {
  custom: {
    50: '#74a3c0',
    500: '#287ea5',
    950: '#000000',
  },
}
SCSS
$custom: #287ea5;
$custom-light: #74a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#287ea5",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 198.72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.09955,
    "h": 232.5
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#287EA5
secondary
#C28367
accent
#7644E4
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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