#286C8C#286C8C

#286C8C is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.3% C 0.084 H 232.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#286C8C
RGBrgb(40, 108, 140)
HSLhsl(199, 56%, 35%)
HSVhsv(199, 71%, 55%)
CMYKcmyk(71.4%, 22.9%, 0%, 45.1%)
CIE-LABlab(42.87, -10.30, -23.77)
CIE-LCHlch(42.87, 25.90, 246.57°)
OKLaboklab(50.3% -0.0513 -0.0667)
OKLCHoklch(50.3% 0.084 232.4)
XYZxyz(10.9694, 13.0685, 26.7502)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C8C #8C4828
analogous
#288C7A #286C8C #283A8C
triadic
#286C8C #8C286C #6C8C28
tetradic
#286C8C #7A288C #8C4828 #3A8C28
square
#286C8C #7A288C #8C4828 #3A8C28
split-complementary
#286C8C #8C283A #8C7A28
monochromatic
#0D232D #1A475C #286C8C #3691BC #5EACD1

Accessibility & contrast

On white

5.81
#286C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#286C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C8C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C8C#FFFFFF#000000##FFFFFF
##286C8C1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B8E
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #286c8c;
/* rgb */ color: rgb(40, 108, 140);
/* oklch */ color: oklch(50.3% 0.084 232.4);
Tailwind
colors: {
  custom: {
    50: '#6f96ad',
    500: '#286c8c',
    950: '#000000',
  },
}
SCSS
$custom: #286c8c;
$custom-light: #6f96ad;
$custom-dark: #000000;
JSON
{
  "hex": "#286c8c",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 140
  },
  "hsl": {
    "h": 199.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.50298,
    "c": 0.08418,
    "h": 232.4
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#286C8C
secondary
#B6775A
accent
#7949DF
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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