#286987#286987

#286987 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.3% C 0.081 H 231.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#286987
RGBrgb(40, 105, 135)
HSLhsl(199, 54%, 34%)
HSVhsv(199, 70%, 53%)
CMYKcmyk(70.4%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.69, -10.31, -22.59)
CIE-LCHlch(41.69, 24.83, 245.46°)
OKLaboklab(49.29% -0.05 -0.0634)
OKLCHoklch(49.29% 0.081 231.7)
XYZxyz(10.2981, 12.3024, 24.7488)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286987 #874628
analogous
#288776 #286987 #283A87
triadic
#286987 #872869 #698728
tetradic
#286987 #762887 #874628 #3A8728
square
#286987 #762887 #874628 #3A8728
split-complementary
#286987 #87283A #877628
monochromatic
#0C2029 #1A4458 #286987 #368EB6 #5BAACE

Accessibility & contrast

On white

6.07
#286987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#286987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286987
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286987#FFFFFF#000000##FFFFFF
##2869871.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6888
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286987;
/* rgb */ color: rgb(40, 105, 135);
/* oklch */ color: oklch(49.3% 0.081 231.7);
Tailwind
colors: {
  custom: {
    50: '#6e93aa',
    500: '#286987',
    950: '#000000',
  },
}
SCSS
$custom: #286987;
$custom-light: #6e93aa;
$custom-dark: #000000;
JSON
{
  "hex": "#286987",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 198.947,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.08069,
    "h": 231.7
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#286987
secondary
#B47457
accent
#794ADE
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286987

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

Preview Lab → · Contrast checker → · Palette generator →

#286987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva