#286F8F#286F8F

#286F8F is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.2% C 0.086 H 231.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#286F8F
RGBrgb(40, 111, 143)
HSLhsl(199, 56%, 36%)
HSVhsv(199, 72%, 56%)
CMYKcmyk(72%, 22.4%, 0%, 43.9%)
CIE-LABlab(43.95, -10.98, -23.88)
CIE-LCHlch(43.95, 26.29, 245.30°)
OKLaboklab(51.2% -0.0534 -0.067)
OKLCHoklch(51.2% 0.086 231.5)
XYZxyz(11.5155, 13.8019, 28.0384)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F8F #8F4828
analogous
#288F7B #286F8F #283B8F
triadic
#286F8F #8F286F #6F8F28
tetradic
#286F8F #7B288F #8F4828 #3B8F28
square
#286F8F #7B288F #8F4828 #3B8F28
split-complementary
#286F8F #8F283B #8F7B28
monochromatic
#0D252F #1B4A5F #286F8F #3594BF #5FAFD2

Accessibility & contrast

On white

5.58
#286F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#286F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F8F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F8F#FFFFFF#000000##FFFFFF
##286F8F1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E91
Deuteranopia (green-blind)
#51638F
Tritanopia (blue-blind)
#00787A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #286f8f;
/* rgb */ color: rgb(40, 111, 143);
/* oklch */ color: oklch(51.2% 0.086 231.5);
Tailwind
colors: {
  custom: {
    50: '#7098b0',
    500: '#286f8f',
    950: '#000000',
  },
}
SCSS
$custom: #286f8f;
$custom-light: #7098b0;
$custom-dark: #000000;
JSON
{
  "hex": "#286f8f",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 143
  },
  "hsl": {
    "h": 198.641,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.0857,
    "h": 231.5
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#286F8F
secondary
#B8785B
accent
#7748E0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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