#286C8E#286C8E

#286C8E is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.4% C 0.086 H 234.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#286C8E
RGBrgb(40, 108, 142)
HSLhsl(200, 56%, 36%)
HSVhsv(200, 72%, 56%)
CMYKcmyk(71.8%, 23.9%, 0%, 44.3%)
CIE-LABlab(42.96, -9.59, -24.83)
CIE-LCHlch(42.96, 26.61, 248.89°)
OKLaboklab(50.4% -0.0506 -0.0698)
OKLCHoklch(50.4% 0.086 234.1)
XYZxyz(11.1182, 13.1280, 27.5339)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C8E #8E4A28
analogous
#288E7D #286C8E #28398E
triadic
#286C8E #8E286C #6C8E28
tetradic
#286C8E #7D288E #8E4A28 #398E28
square
#286C8E #7D288E #8E4A28 #398E28
split-complementary
#286C8E #8E2839 #8E7D28
monochromatic
#0D232F #1B485E #286C8E #3590BE #5FABD2

Accessibility & contrast

On white

5.79
#286C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#286C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C8E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C8E#FFFFFF#000000##FFFFFF
##286C8E1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #286c8e;
/* rgb */ color: rgb(40, 108, 142);
/* oklch */ color: oklch(50.4% 0.086 234.1);
Tailwind
colors: {
  custom: {
    50: '#6f96af',
    500: '#286c8e',
    950: '#000000',
  },
}
SCSS
$custom: #286c8e;
$custom-light: #6f96af;
$custom-dark: #000000;
JSON
{
  "hex": "#286c8e",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 142
  },
  "hsl": {
    "h": 200,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.08617,
    "h": 234.1
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#286C8E
secondary
#B7795B
accent
#7B48DF
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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