#287DAB#287DAB

#287DAB is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.1% C 0.106 H 237.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#287DAB
RGBrgb(40, 125, 171)
HSLhsl(201, 62%, 41%)
HSVhsv(201, 77%, 67%)
CMYKcmyk(76.6%, 26.9%, 0%, 32.9%)
CIE-LABlab(49.56, -9.11, -31.60)
CIE-LCHlch(49.56, 32.88, 253.93°)
OKLaboklab(56.09% -0.0575 -0.0892)
OKLCHoklch(56.09% 0.106 237.2)
XYZxyz(15.5565, 18.0568, 41.1856)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287DAB #AB5628
analogous
#28AB98 #287DAB #283CAB
triadic
#287DAB #AB287D #7DAB28
tetradic
#287DAB #9828AB #AB5628 #3CAB28
square
#287DAB #9828AB #AB5628 #3CAB28
split-complementary
#287DAB #AB283C #AB9828
monochromatic
#113448 #1C5979 #287DAB #3E9ED2 #70B7DE

Accessibility & contrast

On white

4.55
#287DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#287DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #287DAB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287DAB#FFFFFF#000000##000000
##287DAB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAD
Deuteranopia (green-blind)
#5570AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #287dab;
/* rgb */ color: rgb(40, 125, 171);
/* oklch */ color: oklch(56.1% 0.106 237.2);
Tailwind
colors: {
  custom: {
    50: '#75a2c4',
    500: '#287dab',
    950: '#000000',
  },
}
SCSS
$custom: #287dab;
$custom-light: #75a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#287dab",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 201.069,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56092,
    "c": 0.10615,
    "h": 237.2
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#287DAB
secondary
#C48A6A
accent
#7C43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #287DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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