#286B8B#286B8B

#286B8B is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.0% C 0.084 H 232.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#286B8B
RGBrgb(40, 107, 139)
HSLhsl(199, 55%, 35%)
HSVhsv(199, 71%, 55%)
CMYKcmyk(71.2%, 23%, 0%, 45.5%)
CIE-LABlab(42.51, -10.07, -23.73)
CIE-LCHlch(42.51, 25.78, 247.01°)
OKLaboklab(50% -0.0506 -0.0666)
OKLCHoklch(50% 0.084 232.8)
XYZxyz(10.7911, 12.8294, 26.3287)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B8B #8B4828
analogous
#288B79 #286B8B #28398B
triadic
#286B8B #8B286B #6B8B28
tetradic
#286B8B #79288B #8B4828 #398B28
square
#286B8B #79288B #8B4828 #398B28
split-complementary
#286B8B #8B2839 #8B7928
monochromatic
#0D222C #1A465B #286B8B #3690BB #5DABD0

Accessibility & contrast

On white

5.89
#286B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#286B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B8B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B8B#FFFFFF#000000##FFFFFF
##286B8B1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8D
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #286b8b;
/* rgb */ color: rgb(40, 107, 139);
/* oklch */ color: oklch(50.0% 0.084 232.8);
Tailwind
colors: {
  custom: {
    50: '#6f95ad',
    500: '#286b8b',
    950: '#000000',
  },
}
SCSS
$custom: #286b8b;
$custom-light: #6f95ad;
$custom-dark: #000000;
JSON
{
  "hex": "#286b8b",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 139
  },
  "hsl": {
    "h": 199.394,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.08367,
    "h": 232.8
  },
  "luminance": 0.12831
}

Semantic roles & 50–950 ramp

primary
#286B8B
secondary
#B67759
accent
#7949DF
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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