#286F8D#286F8D

#286F8D is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.1% C 0.084 H 229.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#286F8D
RGBrgb(40, 111, 141)
HSLhsl(198, 56%, 35%)
HSVhsv(198, 72%, 55%)
CMYKcmyk(71.6%, 21.3%, 0%, 44.7%)
CIE-LABlab(43.86, -11.69, -22.83)
CIE-LCHlch(43.86, 25.64, 242.88°)
OKLaboklab(51.11% -0.0541 -0.064)
OKLCHoklch(51.11% 0.084 229.8)
XYZxyz(11.3653, 13.7418, 27.2476)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F8D #8D4628
analogous
#288D78 #286F8D #283C8D
triadic
#286F8D #8D286F #6F8D28
tetradic
#286F8D #78288D #8D4628 #3C8D28
square
#286F8D #78288D #8D4628 #3C8D28
split-complementary
#286F8D #8D283C #8D7828
monochromatic
#0D242E #1A495D #286F8D #3695BD #5EAFD1

Accessibility & contrast

On white

5.60
#286F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#286F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F8D
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F8D#FFFFFF#000000##FFFFFF
##286F8D1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8E
Deuteranopia (green-blind)
#52638D
Tritanopia (blue-blind)
#007779
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #286f8d;
/* rgb */ color: rgb(40, 111, 141);
/* oklch */ color: oklch(51.1% 0.084 229.8);
Tailwind
colors: {
  custom: {
    50: '#7098ae',
    500: '#286f8d',
    950: '#000000',
  },
}
SCSS
$custom: #286f8d;
$custom-light: #7098ae;
$custom-dark: #000000;
JSON
{
  "hex": "#286f8d",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 141
  },
  "hsl": {
    "h": 197.822,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.08384,
    "h": 229.8
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#286F8D
secondary
#B7765A
accent
#7549DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #286F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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