#287BAD#287BAD

#287BAD is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.110 H 239.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#287BAD
RGBrgb(40, 123, 173)
HSLhsl(203, 62%, 42%)
HSVhsv(203, 77%, 68%)
CMYKcmyk(76.9%, 28.9%, 0%, 32.2%)
CIE-LABlab(49.05, -7.22, -33.57)
CIE-LCHlch(49.05, 34.34, 257.87°)
OKLaboklab(55.71% -0.0549 -0.0949)
OKLCHoklch(55.71% 0.11 239.9)
XYZxyz(15.4979, 17.6323, 42.1136)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287BAD #AD5A28
analogous
#28AD9C #287BAD #2839AD
triadic
#287BAD #AD287B #7BAD28
tetradic
#287BAD #9C28AD #AD5A28 #39AD28
square
#287BAD #9C28AD #AD5A28 #39AD28
split-complementary
#287BAD #AD2839 #AD9C28
monochromatic
#11344A #1D587B #287BAD #3F9BD3 #71B5DE

Accessibility & contrast

On white

4.64
#287BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#287BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287BAD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287BAD#FFFFFF#000000##FFFFFF
##287BAD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647BAF
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #287bad;
/* rgb */ color: rgb(40, 123, 173);
/* oklch */ color: oklch(55.7% 0.110 239.9);
Tailwind
colors: {
  custom: {
    50: '#76a1c5',
    500: '#287bad',
    950: '#000000',
  },
}
SCSS
$custom: #287bad;
$custom-light: #76a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#287bad",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 173
  },
  "hsl": {
    "h": 202.556,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.10969,
    "h": 239.9
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#287BAD
secondary
#C58D6C
accent
#8042E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #287BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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