#286997#286997

#286997 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.1% C 0.098 H 243.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#286997
RGBrgb(40, 105, 151)
HSLhsl(205, 58%, 37%)
HSVhsv(205, 74%, 59%)
CMYKcmyk(73.5%, 30.5%, 0%, 40.8%)
CIE-LABlab(42.44, -4.53, -31.00)
CIE-LCHlch(42.44, 31.33, 261.69°)
OKLaboklab(50.13% -0.0443 -0.0877)
OKLCHoklch(50.13% 0.098 243.2)
XYZxyz(11.5104, 12.7873, 31.1337)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286997 #975628
analogous
#28978E #286997 #283197
triadic
#286997 #972869 #699728
tetradic
#286997 #8E2897 #975628 #319728
square
#286997 #8E2897 #975628 #319728
split-complementary
#286997 #972831 #978E28
monochromatic
#0E2636 #1B4767 #286997 #358BC7 #64A6D6

Accessibility & contrast

On white

5.90
#286997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286997
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286997#FFFFFF#000000##FFFFFF
##2869971.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#455F96
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #286997;
/* rgb */ color: rgb(40, 105, 151);
/* oklch */ color: oklch(50.1% 0.098 243.2);
Tailwind
colors: {
  custom: {
    50: '#7193b6',
    500: '#286997',
    950: '#000000',
  },
}
SCSS
$custom: #286997;
$custom-light: #7193b6;
$custom-dark: #000000;
JSON
{
  "hex": "#286997",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 204.865,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.09824,
    "h": 243.2
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#286997
secondary
#BC855F
accent
#8746E1
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #286997

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

Preview Lab → · Contrast checker → · Palette generator →

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