#287BB1#287BB1

#287BB1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.114 H 242.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#287BB1
RGBrgb(40, 123, 177)
HSLhsl(204, 63%, 43%)
HSVhsv(204, 77%, 69%)
CMYKcmyk(77.4%, 30.5%, 0%, 30.6%)
CIE-LABlab(49.24, -5.76, -35.59)
CIE-LCHlch(49.24, 36.05, 260.81°)
OKLaboklab(55.93% -0.0536 -0.1008)
OKLCHoklch(55.93% 0.114 242)
XYZxyz(15.8907, 17.7895, 44.1827)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287BB1 #B15E28
analogous
#28B1A3 #287BB1 #2836B1
triadic
#287BB1 #B1287B #7BB128
tetradic
#287BB1 #A328B1 #B15E28 #36B128
square
#287BB1 #A328B1 #B15E28 #36B128
split-complementary
#287BB1 #B12836 #B1A328
monochromatic
#11364D #1D587F #287BB1 #429BD4 #74B5E0

Accessibility & contrast

On white

4.61
#287BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#287BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287BB1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287BB1#FFFFFF#000000##FFFFFF
##287BB11.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627CB3
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #287bb1;
/* rgb */ color: rgb(40, 123, 177);
/* oklch */ color: oklch(55.9% 0.114 242.0);
Tailwind
colors: {
  custom: {
    50: '#76a1c8',
    500: '#287bb1',
    950: '#000000',
  },
}
SCSS
$custom: #287bb1;
$custom-light: #76a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#287bb1",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 177
  },
  "hsl": {
    "h": 203.65,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.1142,
    "h": 242
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#287BB1
secondary
#C7916E
accent
#8242E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #287BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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