#286F8B#286F8B

#286F8B is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.0% C 0.082 H 228.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#286F8B
RGBrgb(40, 111, 139)
HSLhsl(197, 55%, 35%)
HSVhsv(197, 71%, 55%)
CMYKcmyk(71.2%, 20.1%, 0%, 45.5%)
CIE-LABlab(43.77, -12.39, -21.76)
CIE-LCHlch(43.77, 25.04, 240.35°)
OKLaboklab(51.01% -0.0549 -0.061)
OKLCHoklch(51.01% 0.082 228)
XYZxyz(11.2178, 13.6828, 26.4709)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F8B #8B4428
analogous
#288B76 #286F8B #283D8B
triadic
#286F8B #8B286F #6F8B28
tetradic
#286F8B #76288B #8B4428 #3D8B28
square
#286F8B #76288B #8B4428 #3D8B28
split-complementary
#286F8B #8B283D #8B7628
monochromatic
#0D232C #1A495B #286F8B #3695BB #5DB0D0

Accessibility & contrast

On white

5.62
#286F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#286F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F8B
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F8B#FFFFFF#000000##FFFFFF
##286F8B1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8C
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#007778
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #286f8b;
/* rgb */ color: rgb(40, 111, 139);
/* oklch */ color: oklch(51.0% 0.082 228.0);
Tailwind
colors: {
  custom: {
    50: '#6f98ad',
    500: '#286f8b',
    950: '#000000',
  },
}
SCSS
$custom: #286f8b;
$custom-light: #6f98ad;
$custom-dark: #000000;
JSON
{
  "hex": "#286f8b",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 139
  },
  "hsl": {
    "h": 196.97,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.08205,
    "h": 228
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#286F8B
secondary
#B67359
accent
#7349DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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