#286C8A#286C8A

#286C8A is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.2% C 0.082 H 230.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#286C8A
RGBrgb(40, 108, 138)
HSLhsl(198, 55%, 35%)
HSVhsv(198, 71%, 54%)
CMYKcmyk(71%, 21.7%, 0%, 45.9%)
CIE-LABlab(42.78, -11.00, -22.71)
CIE-LCHlch(42.78, 25.23, 244.14°)
OKLaboklab(50.2% -0.0521 -0.0637)
OKLCHoklch(50.2% 0.082 230.7)
XYZxyz(10.8233, 13.0100, 25.9806)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C8A #8A4628
analogous
#288A77 #286C8A #283B8A
triadic
#286C8A #8A286C #6C8A28
tetradic
#286C8A #77288A #8A4628 #3B8A28
square
#286C8A #77288A #8A4628 #3B8A28
split-complementary
#286C8A #8A283B #8A7728
monochromatic
#0C222B #1A475B #286C8A #3691B9 #5DADD0

Accessibility & contrast

On white

5.83
#286C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#286C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C8A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C8A#FFFFFF#000000##FFFFFF
##286C8A1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A8B
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #286c8a;
/* rgb */ color: rgb(40, 108, 138);
/* oklch */ color: oklch(50.2% 0.082 230.7);
Tailwind
colors: {
  custom: {
    50: '#6f96ac',
    500: '#286c8a',
    950: '#000000',
  },
}
SCSS
$custom: #286c8a;
$custom-light: #6f96ac;
$custom-dark: #000000;
JSON
{
  "hex": "#286c8a",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 198.367,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.08226,
    "h": 230.7
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#286C8A
secondary
#B57559
accent
#7749DE
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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