#286797#286797

#286797 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.6% C 0.100 H 245.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#286797
RGBrgb(40, 103, 151)
HSLhsl(206, 58%, 37%)
HSVhsv(206, 74%, 59%)
CMYKcmyk(73.5%, 31.8%, 0%, 40.8%)
CIE-LABlab(41.82, -3.31, -31.97)
CIE-LCHlch(41.82, 32.15, 264.10°)
OKLaboklab(49.64% -0.0423 -0.0905)
OKLCHoklch(49.64% 0.1 245)
XYZxyz(11.3091, 12.3847, 31.0666)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286797 #975828
analogous
#289790 #286797 #283097
triadic
#286797 #972867 #679728
tetradic
#286797 #902897 #975828 #309728
square
#286797 #902897 #975828 #309728
split-complementary
#286797 #972830 #979028
monochromatic
#0E2536 #1B4667 #286797 #3588C7 #64A4D6

Accessibility & contrast

On white

6.04
#286797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#286797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286797
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286797#FFFFFF#000000##FFFFFF
##2867971.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516899
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #286797;
/* rgb */ color: rgb(40, 103, 151);
/* oklch */ color: oklch(49.6% 0.100 245.0);
Tailwind
colors: {
  custom: {
    50: '#7192b6',
    500: '#286797',
    950: '#000000',
  },
}
SCSS
$custom: #286797;
$custom-light: #7192b6;
$custom-dark: #000000;
JSON
{
  "hex": "#286797",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 205.946,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.09993,
    "h": 245
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#286797
secondary
#BC875F
accent
#8946E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #286797

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

Preview Lab → · Contrast checker → · Palette generator →

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