#286F8E#286F8E

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

Color values

HEX#286F8E
RGBrgb(40, 111, 142)
HSLhsl(198, 56%, 36%)
HSVhsv(198, 72%, 56%)
CMYKcmyk(71.8%, 21.8%, 0%, 44.3%)
CIE-LABlab(43.90, -11.34, -23.36)
CIE-LCHlch(43.90, 25.96, 244.11°)
OKLaboklab(51.15% -0.0538 -0.0655)
OKLCHoklch(51.15% 0.085 230.6)
XYZxyz(11.4400, 13.7717, 27.6412)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F8E #8E4728
analogous
#288E7A #286F8E #283C8E
triadic
#286F8E #8E286F #6F8E28
tetradic
#286F8E #7A288E #8E4728 #3C8E28
square
#286F8E #7A288E #8E4728 #3C8E28
split-complementary
#286F8E #8E283C #8E7A28
monochromatic
#0D242F #1B4A5E #286F8E #3594BE #5FAFD2

Accessibility & contrast

On white

5.59
#286F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#286F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F8E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F8E#FFFFFF#000000##FFFFFF
##286F8E1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D90
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#007879
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #286f8e;
/* rgb */ color: rgb(40, 111, 142);
/* oklch */ color: oklch(51.2% 0.085 230.6);
Tailwind
colors: {
  custom: {
    50: '#7098af',
    500: '#286f8e',
    950: '#000000',
  },
}
SCSS
$custom: #286f8e;
$custom-light: #7098af;
$custom-dark: #000000;
JSON
{
  "hex": "#286f8e",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 142
  },
  "hsl": {
    "h": 198.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.08476,
    "h": 230.6
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#286F8E
secondary
#B7775B
accent
#7648DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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