#286899#286899

#286899 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.0% C 0.102 H 245.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#286899
RGBrgb(40, 104, 153)
HSLhsl(206, 59%, 38%)
HSVhsv(206, 74%, 60%)
CMYKcmyk(73.9%, 32%, 0%, 40%)
CIE-LABlab(42.23, -3.18, -32.52)
CIE-LCHlch(42.23, 32.68, 264.42°)
OKLaboklab(50% -0.0426 -0.0921)
OKLCHoklch(50% 0.102 245.2)
XYZxyz(11.5730, 12.6503, 31.9626)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286899 #995928
analogous
#289991 #286899 #282F99
triadic
#286899 #992868 #689928
tetradic
#286899 #912899 #995928 #2F9928
square
#286899 #912899 #995928 #2F9928
split-complementary
#286899 #99282F #999128
monochromatic
#0F2638 #1B4768 #286899 #3589CA #65A5D7

Accessibility & contrast

On white

5.95
#286899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#286899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286899
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286899#FFFFFF#000000##FFFFFF
##2868991.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #286899;
/* rgb */ color: rgb(40, 104, 153);
/* oklch */ color: oklch(50.0% 0.102 245.2);
Tailwind
colors: {
  custom: {
    50: '#7192b7',
    500: '#286899',
    950: '#000000',
  },
}
SCSS
$custom: #286899;
$custom-light: #7192b7;
$custom-dark: #000000;
JSON
{
  "hex": "#286899",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 153
  },
  "hsl": {
    "h": 206.018,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49998,
    "c": 0.10152,
    "h": 245.2
  },
  "luminance": 0.12652
}

Semantic roles & 50–950 ramp

primary
#286899
secondary
#BD8860
accent
#8A46E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #286899

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

Preview Lab → · Contrast checker → · Palette generator →

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