#287CA8#287CA8

#287CA8 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.7% C 0.104 H 236.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#287CA8
RGBrgb(40, 124, 168)
HSLhsl(201, 62%, 41%)
HSVhsv(201, 76%, 66%)
CMYKcmyk(76.2%, 26.2%, 0%, 34.1%)
CIE-LABlab(49.12, -9.60, -30.55)
CIE-LCHlch(49.12, 32.02, 252.55°)
OKLaboklab(55.69% -0.0576 -0.0862)
OKLCHoklch(55.69% 0.104 236.2)
XYZxyz(15.1478, 17.6918, 39.6547)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287CA8 #A85428
analogous
#28A894 #287CA8 #283CA8
triadic
#287CA8 #A8287C #7CA828
tetradic
#287CA8 #9428A8 #A85428 #3CA828
square
#287CA8 #9428A8 #A85428 #3CA828
split-complementary
#287CA8 #A8283C #A89428
monochromatic
#103345 #1C5877 #287CA8 #3D9ED1 #6EB6DC

Accessibility & contrast

On white

4.63
#287CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#287CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287CA8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287CA8#FFFFFF#000000##FFFFFF
##287CA81.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BAA
Deuteranopia (green-blind)
#566FA7
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #287ca8;
/* rgb */ color: rgb(40, 124, 168);
/* oklch */ color: oklch(55.7% 0.104 236.2);
Tailwind
colors: {
  custom: {
    50: '#75a1c2',
    500: '#287ca8',
    950: '#000000',
  },
}
SCSS
$custom: #287ca8;
$custom-light: #75a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#287ca8",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 200.625,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.10366,
    "h": 236.2
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#287CA8
secondary
#C38869
accent
#7B43E5
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #287CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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