#287DA2#287DA2

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

Color values

HEX#287DA2
RGBrgb(40, 125, 162)
HSLhsl(198, 60%, 40%)
HSVhsv(198, 75%, 64%)
CMYKcmyk(75.3%, 22.8%, 0%, 36.5%)
CIE-LABlab(49.16, -12.31, -26.99)
CIE-LCHlch(49.16, 29.67, 245.48°)
OKLaboklab(55.64% -0.0607 -0.0759)
OKLCHoklch(55.64% 0.097 231.3)
XYZxyz(14.7276, 17.7253, 36.8205)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287DA2 #A24D28
analogous
#28A28A #287DA2 #2840A2
triadic
#287DA2 #A2287D #7DA228
tetradic
#287DA2 #8A28A2 #A24D28 #40A228
square
#287DA2 #8A28A2 #A24D28 #40A228
split-complementary
#287DA2 #A22840 #A28A28
monochromatic
#103140 #1C5771 #287DA2 #39A1CE #6AB8DA

Accessibility & contrast

On white

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

On black

4.55
#287DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287DA2#FFFFFF#000000##FFFFFF
##287DA21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA4
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #287da2;
/* rgb */ color: rgb(40, 125, 162);
/* oklch */ color: oklch(55.6% 0.097 231.3);
Tailwind
colors: {
  custom: {
    50: '#74a2bd',
    500: '#287da2',
    950: '#000000',
  },
}
SCSS
$custom: #287da2;
$custom-light: #74a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#287da2",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 198.197,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.09721,
    "h": 231.3
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#287DA2
secondary
#C18165
accent
#7544E4
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #287DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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