#286799#286799

#286799 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.102 H 246.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#286799
RGBrgb(40, 103, 153)
HSLhsl(207, 59%, 38%)
HSVhsv(207, 74%, 60%)
CMYKcmyk(73.9%, 32.7%, 0%, 40%)
CIE-LABlab(41.92, -2.56, -33.01)
CIE-LCHlch(41.92, 33.11, 265.56°)
OKLaboklab(49.76% -0.0416 -0.0936)
OKLCHoklch(49.76% 0.102 246)
XYZxyz(11.4729, 12.4502, 31.9293)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286799 #995A28
analogous
#289992 #286799 #282E99
triadic
#286799 #992867 #679928
tetradic
#286799 #922899 #995A28 #2E9928
square
#286799 #922899 #995A28 #2E9928
split-complementary
#286799 #99282E #999228
monochromatic
#0F2638 #1B4668 #286799 #3588CA #65A4D7

Accessibility & contrast

On white

6.02
#286799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#286799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286799
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286799#FFFFFF#000000##FFFFFF
##2867991.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50699B
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #286799;
/* rgb */ color: rgb(40, 103, 153);
/* oklch */ color: oklch(49.8% 0.102 246.0);
Tailwind
colors: {
  custom: {
    50: '#7192b7',
    500: '#286799',
    950: '#000000',
  },
}
SCSS
$custom: #286799;
$custom-light: #7192b7;
$custom-dark: #000000;
JSON
{
  "hex": "#286799",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 206.549,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.10241,
    "h": 246
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#286799
secondary
#BD8960
accent
#8B46E2
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #286799

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

Preview Lab → · Contrast checker → · Palette generator →

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