#286D8A#286D8A

#286D8A is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.5% C 0.082 H 229.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#286D8A
RGBrgb(40, 109, 138)
HSLhsl(198, 55%, 35%)
HSVhsv(198, 71%, 54%)
CMYKcmyk(71%, 21%, 0%, 45.9%)
CIE-LABlab(43.10, -11.59, -22.22)
CIE-LCHlch(43.10, 25.05, 242.46°)
OKLaboklab(50.45% -0.0531 -0.0623)
OKLCHoklch(50.45% 0.082 229.5)
XYZxyz(10.9293, 13.2222, 26.0160)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D8A #8A4528
analogous
#288A76 #286D8A #283C8A
triadic
#286D8A #8A286D #6D8A28
tetradic
#286D8A #76288A #8A4528 #3C8A28
square
#286D8A #76288A #8A4528 #3C8A28
split-complementary
#286D8A #8A283C #8A7628
monochromatic
#0C222B #1A485B #286D8A #3692B9 #5DAED0

Accessibility & contrast

On white

5.76
#286D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#286D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D8A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D8A#FFFFFF#000000##FFFFFF
##286D8A1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8B
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #286d8a;
/* rgb */ color: rgb(40, 109, 138);
/* oklch */ color: oklch(50.5% 0.082 229.5);
Tailwind
colors: {
  custom: {
    50: '#6f96ac',
    500: '#286d8a',
    950: '#000000',
  },
}
SCSS
$custom: #286d8a;
$custom-light: #6f96ac;
$custom-dark: #000000;
JSON
{
  "hex": "#286d8a",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 138
  },
  "hsl": {
    "h": 197.755,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.08187,
    "h": 229.5
  },
  "luminance": 0.13223
}

Semantic roles & 50–950 ramp

primary
#286D8A
secondary
#B57459
accent
#7549DE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#286D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva