#287AA2#287AA2

#287AA2 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.9% C 0.099 H 234.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#287AA2
RGBrgb(40, 122, 162)
HSLhsl(200, 60%, 40%)
HSVhsv(200, 75%, 64%)
CMYKcmyk(75.3%, 24.7%, 0%, 36.5%)
CIE-LABlab(48.23, -10.60, -28.44)
CIE-LCHlch(48.23, 30.35, 249.57°)
OKLaboklab(54.9% -0.0577 -0.0801)
OKLCHoklch(54.9% 0.099 234.2)
XYZxyz(14.3536, 16.9771, 36.6958)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287AA2 #A25028
analogous
#28A28D #287AA2 #283DA2
triadic
#287AA2 #A2287A #7AA228
tetradic
#287AA2 #8D28A2 #A25028 #3DA228
square
#287AA2 #8D28A2 #A25028 #3DA228
split-complementary
#287AA2 #A2283D #A28D28
monochromatic
#103040 #1C5571 #287AA2 #399DCE #6AB5DA

Accessibility & contrast

On white

4.78
#287AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#287AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287AA2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287AA2#FFFFFF#000000##FFFFFF
##287AA21.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6679A4
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287aa2;
/* rgb */ color: rgb(40, 122, 162);
/* oklch */ color: oklch(54.9% 0.099 234.2);
Tailwind
colors: {
  custom: {
    50: '#74a0bd',
    500: '#287aa2',
    950: '#000000',
  },
}
SCSS
$custom: #287aa2;
$custom-light: #74a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#287aa2",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 199.672,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54896,
    "c": 0.09873,
    "h": 234.2
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#287AA2
secondary
#C18365
accent
#7844E4
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #287AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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