#286998#286998

#286998 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.2% C 0.099 H 243.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#286998
RGBrgb(40, 105, 152)
HSLhsl(205, 58%, 38%)
HSVhsv(205, 74%, 60%)
CMYKcmyk(73.7%, 30.9%, 0%, 40.4%)
CIE-LABlab(42.49, -4.16, -31.52)
CIE-LCHlch(42.49, 31.79, 262.48°)
OKLaboklab(50.19% -0.044 -0.0892)
OKLCHoklch(50.19% 0.099 243.8)
XYZxyz(11.5920, 12.8200, 31.5632)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286998 #985728
analogous
#28988F #286998 #283198
triadic
#286998 #982869 #699828
tetradic
#286998 #8F2898 #985728 #319828
square
#286998 #8F2898 #985728 #319828
split-complementary
#286998 #982831 #988F28
monochromatic
#0F2637 #1B4868 #286998 #358AC8 #64A6D6

Accessibility & contrast

On white

5.89
#286998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#286998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286998#FFFFFF#000000##FFFFFF
##2869981.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A9A
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#00747A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #286998;
/* rgb */ color: rgb(40, 105, 152);
/* oklch */ color: oklch(50.2% 0.099 243.8);
Tailwind
colors: {
  custom: {
    50: '#7193b6',
    500: '#286998',
    950: '#000000',
  },
}
SCSS
$custom: #286998;
$custom-light: #7193b6;
$custom-dark: #000000;
JSON
{
  "hex": "#286998",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 152
  },
  "hsl": {
    "h": 205.179,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50186,
    "c": 0.09945,
    "h": 243.8
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#286998
secondary
#BC8660
accent
#8746E2
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #286998

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

Preview Lab → · Contrast checker → · Palette generator →

#286998 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva