#287BAF#287BAF

#287BAF is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.112 H 241.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#287BAF
RGBrgb(40, 123, 175)
HSLhsl(203, 63%, 42%)
HSVhsv(203, 77%, 69%)
CMYKcmyk(77.1%, 29.7%, 0%, 31.4%)
CIE-LABlab(49.14, -6.49, -34.58)
CIE-LCHlch(49.14, 35.18, 259.37°)
OKLaboklab(55.82% -0.0543 -0.0979)
OKLCHoklch(55.82% 0.112 241)
XYZxyz(15.6929, 17.7103, 43.1405)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287BAF #AF5C28
analogous
#28AFA0 #287BAF #2838AF
triadic
#287BAF #AF287B #7BAF28
tetradic
#287BAF #A028AF #AF5C28 #38AF28
square
#287BAF #A028AF #AF5C28 #38AF28
split-complementary
#287BAF #AF2838 #AFA028
monochromatic
#11354B #1D587D #287BAF #419BD4 #73B5DF

Accessibility & contrast

On white

4.62
#287BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287BAF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287BAF#FFFFFF#000000##FFFFFF
##287BAF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #287baf;
/* rgb */ color: rgb(40, 123, 175);
/* oklch */ color: oklch(55.8% 0.112 241.0);
Tailwind
colors: {
  custom: {
    50: '#76a1c7',
    500: '#287baf',
    950: '#000000',
  },
}
SCSS
$custom: #287baf;
$custom-light: #76a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#287baf",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 203.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.11193,
    "h": 241
  },
  "luminance": 0.17712
}

Semantic roles & 50–950 ramp

primary
#287BAF
secondary
#C68F6D
accent
#8142E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #287BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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