#286D8E#286D8E

#286D8E is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 50.7% C 0.086 H 232.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#286D8E
RGBrgb(40, 109, 142)
HSLhsl(199, 56%, 36%)
HSVhsv(199, 72%, 56%)
CMYKcmyk(71.8%, 23.2%, 0%, 44.3%)
CIE-LABlab(43.27, -10.17, -24.34)
CIE-LCHlch(43.27, 26.38, 247.31°)
OKLaboklab(50.65% -0.0516 -0.0684)
OKLCHoklch(50.65% 0.086 232.9)
XYZxyz(11.2243, 13.3401, 27.5693)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D8E #8E4928
analogous
#288E7C #286D8E #283A8E
triadic
#286D8E #8E286D #6D8E28
tetradic
#286D8E #7C288E #8E4928 #3A8E28
square
#286D8E #7C288E #8E4928 #3A8E28
split-complementary
#286D8E #8E283A #8E7C28
monochromatic
#0D242F #1B485E #286D8E #3592BE #5FADD2

Accessibility & contrast

On white

5.72
#286D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#286D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D8E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D8E#FFFFFF#000000##FFFFFF
##286D8E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C90
Deuteranopia (green-blind)
#4F628D
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #286d8e;
/* rgb */ color: rgb(40, 109, 142);
/* oklch */ color: oklch(50.7% 0.086 232.9);
Tailwind
colors: {
  custom: {
    50: '#7096af',
    500: '#286d8e',
    950: '#000000',
  },
}
SCSS
$custom: #286d8e;
$custom-light: #7096af;
$custom-dark: #000000;
JSON
{
  "hex": "#286d8e",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 142
  },
  "hsl": {
    "h": 199.412,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.50651,
    "c": 0.08566,
    "h": 232.9
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#286D8E
secondary
#B7795B
accent
#7948DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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