#287EA4#287EA4

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

Color values

HEX#287EA4
RGBrgb(40, 126, 164)
HSLhsl(198, 61%, 40%)
HSVhsv(198, 76%, 64%)
CMYKcmyk(75.6%, 23.2%, 0%, 35.7%)
CIE-LABlab(49.56, -12.17, -27.54)
CIE-LCHlch(49.56, 30.11, 246.15°)
OKLaboklab(55.98% -0.061 -0.0775)
OKLCHoklch(55.98% 0.099 231.8)
XYZxyz(15.0341, 18.0514, 37.8067)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287EA4 #A44E28
analogous
#28A48C #287EA4 #2840A4
triadic
#287EA4 #A4287E #7EA428
tetradic
#287EA4 #8C28A4 #A44E28 #40A428
square
#287EA4 #8C28A4 #A44E28 #40A428
split-complementary
#287EA4 #A42840 #A48C28
monochromatic
#103242 #1C5873 #287EA4 #3AA1CF #6BB9DB

Accessibility & contrast

On white

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

On black

4.61
#287EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287EA4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287EA4#FFFFFF#000000##000000
##287EA41.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287ea4;
/* rgb */ color: rgb(40, 126, 164);
/* oklch */ color: oklch(56.0% 0.099 231.8);
Tailwind
colors: {
  custom: {
    50: '#74a3bf',
    500: '#287ea4',
    950: '#000000',
  },
}
SCSS
$custom: #287ea4;
$custom-light: #74a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#287ea4",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 198.387,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.55983,
    "c": 0.09861,
    "h": 231.8
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#287EA4
secondary
#C18266
accent
#7544E4
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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