#287AB1#287AB1

#287AB1 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.115 H 242.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#287AB1
RGBrgb(40, 122, 177)
HSLhsl(204, 63%, 43%)
HSVhsv(204, 77%, 69%)
CMYKcmyk(77.4%, 31.1%, 0%, 30.6%)
CIE-LABlab(48.94, -5.17, -36.06)
CIE-LCHlch(48.94, 36.43, 261.85°)
OKLaboklab(55.69% -0.0527 -0.1022)
OKLCHoklch(55.69% 0.115 242.7)
XYZxyz(15.7673, 17.5426, 44.1415)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287AB1 #B15F28
analogous
#28B1A4 #287AB1 #2835B1
triadic
#287AB1 #B1287A #7AB128
tetradic
#287AB1 #A428B1 #B15F28 #35B128
square
#287AB1 #A428B1 #B15F28 #35B128
split-complementary
#287AB1 #B12835 #B1A428
monochromatic
#11354D #1D587F #287AB1 #429AD4 #74B4E0

Accessibility & contrast

On white

4.66
#287AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#287AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287AB1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287AB1#FFFFFF#000000##FFFFFF
##287AB11.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607BB3
Deuteranopia (green-blind)
#4D6FB0
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287ab1;
/* rgb */ color: rgb(40, 122, 177);
/* oklch */ color: oklch(55.7% 0.115 242.7);
Tailwind
colors: {
  custom: {
    50: '#76a0c8',
    500: '#287ab1',
    950: '#000000',
  },
}
SCSS
$custom: #287ab1;
$custom-light: #76a0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#287ab1",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 177
  },
  "hsl": {
    "h": 204.088,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.115,
    "h": 242.7
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

primary
#287AB1
secondary
#C7926E
accent
#8442E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #287AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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