#286F8A#286F8A

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

Color values

HEX#286F8A
RGBrgb(40, 111, 138)
HSLhsl(197, 55%, 35%)
HSVhsv(197, 71%, 54%)
CMYKcmyk(71%, 19.6%, 0%, 45.9%)
CIE-LABlab(43.73, -12.74, -21.23)
CIE-LCHlch(43.73, 24.76, 239.04°)
OKLaboklab(50.96% -0.0553 -0.0594)
OKLCHoklch(50.96% 0.081 227.1)
XYZxyz(11.1451, 13.6537, 26.0879)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F8A #8A4328
analogous
#288A74 #286F8A #283E8A
triadic
#286F8A #8A286F #6F8A28
tetradic
#286F8A #74288A #8A4328 #3E8A28
square
#286F8A #74288A #8A4328 #3E8A28
split-complementary
#286F8A #8A283E #8A7428
monochromatic
#0C232B #1A495B #286F8A #3695B9 #5DB0D0

Accessibility & contrast

On white

5.63
#286F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#286F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F8A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F8A#FFFFFF#000000##FFFFFF
##286F8A1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616D8B
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#007778
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #286f8a;
/* rgb */ color: rgb(40, 111, 138);
/* oklch */ color: oklch(51.0% 0.081 227.1);
Tailwind
colors: {
  custom: {
    50: '#6f98ac',
    500: '#286f8a',
    950: '#000000',
  },
}
SCSS
$custom: #286f8a;
$custom-light: #6f98ac;
$custom-dark: #000000;
JSON
{
  "hex": "#286f8a",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 138
  },
  "hsl": {
    "h": 196.531,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.08119,
    "h": 227.1
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#286F8A
secondary
#B57259
accent
#7249DE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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