#286C7E#286C7E

#286C7E is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 49.6% C 0.073 H 218.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#286C7E
RGBrgb(40, 108, 126)
HSLhsl(193, 52%, 33%)
HSVhsv(193, 68%, 49%)
CMYKcmyk(68.3%, 14.3%, 0%, 50.6%)
CIE-LABlab(42.28, -15.15, -16.26)
CIE-LCHlch(42.28, 22.22, 227.03°)
OKLaboklab(49.64% -0.0569 -0.0453)
OKLCHoklch(49.64% 0.073 218.5)
XYZxyz(10.0020, 12.6815, 21.6553)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C7E #7E3A28
analogous
#287E65 #286C7E #28417E
triadic
#286C7E #7E286C #6C7E28
tetradic
#286C7E #65287E #7E3A28 #417E28
square
#286C7E #65287E #7E3A28 #417E28
split-complementary
#286C7E #7E2841 #7E6528
monochromatic
#0B1C21 #194450 #286C7E #3794AC #57B2CA

Accessibility & contrast

On white

5.94
#286C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#286C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C7E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C7E#FFFFFF#000000##FFFFFF
##286C7E1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61697F
Deuteranopia (green-blind)
#54607E
Tritanopia (blue-blind)
#007272
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #286c7e;
/* rgb */ color: rgb(40, 108, 126);
/* oklch */ color: oklch(49.6% 0.073 218.5);
Tailwind
colors: {
  custom: {
    50: '#6d96a3',
    500: '#286c7e',
    950: '#000000',
  },
}
SCSS
$custom: #286c7e;
$custom-light: #6d96a3;
$custom-dark: #000000;
JSON
{
  "hex": "#286c7e",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 126
  },
  "hsl": {
    "h": 192.558,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.07274,
    "h": 218.5
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

primary
#286C7E
secondary
#AF6653
accent
#6A4DDB
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080D0F
muted
#7B7E7F

Preview Lab

Preview with #286C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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