#287DA8#287DA8

#287DA8 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.103 H 235.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#287DA8
RGBrgb(40, 125, 168)
HSLhsl(200, 62%, 41%)
HSVhsv(200, 76%, 66%)
CMYKcmyk(76.2%, 25.6%, 0%, 34.1%)
CIE-LABlab(49.43, -10.18, -30.07)
CIE-LCHlch(49.43, 31.75, 251.30°)
OKLaboklab(55.94% -0.0586 -0.0848)
OKLCHoklch(55.94% 0.103 235.4)
XYZxyz(15.2738, 17.9437, 39.6967)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287DA8 #A85328
analogous
#28A893 #287DA8 #283DA8
triadic
#287DA8 #A8287D #7DA828
tetradic
#287DA8 #9328A8 #A85328 #3DA828
square
#287DA8 #9328A8 #A85328 #3DA828
split-complementary
#287DA8 #A8283D #A89328
monochromatic
#103345 #1C5877 #287DA8 #3D9FD1 #6EB7DC

Accessibility & contrast

On white

4.58
#287DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#287DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287DA8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287DA8#FFFFFF#000000##000000
##287DA81.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#687CAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #287da8;
/* rgb */ color: rgb(40, 125, 168);
/* oklch */ color: oklch(55.9% 0.103 235.4);
Tailwind
colors: {
  custom: {
    50: '#75a2c2',
    500: '#287da8',
    950: '#000000',
  },
}
SCSS
$custom: #287da8;
$custom-light: #75a2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#287da8",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 168
  },
  "hsl": {
    "h": 200.156,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.10306,
    "h": 235.4
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#287DA8
secondary
#C38769
accent
#7943E5
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #287DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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