#286F9F#286F9F

#286F9F is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.0% C 0.103 H 242.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#286F9F
RGBrgb(40, 111, 159)
HSLhsl(204, 60%, 39%)
HSVhsv(204, 75%, 62%)
CMYKcmyk(74.8%, 30.2%, 0%, 37.6%)
CIE-LABlab(44.69, -5.21, -32.21)
CIE-LCHlch(44.69, 32.63, 260.81°)
OKLaboklab(52.04% -0.0477 -0.0911)
OKLCHoklch(52.04% 0.103 242.3)
XYZxyz(12.8151, 14.3217, 34.8831)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F9F #9F5828
analogous
#289F94 #286F9F #28339F
triadic
#286F9F #9F286F #6F9F28
tetradic
#286F9F #94289F #9F5828 #339F28
square
#286F9F #94289F #9F5828 #339F28
split-complementary
#286F9F #9F2833 #9F9428
monochromatic
#0F2B3D #1C4D6E #286F9F #3791CD #68ACD9

Accessibility & contrast

On white

5.43
#286F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#286F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F9F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F9F#FFFFFF#000000##FFFFFF
##286F9F1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5970A1
Deuteranopia (green-blind)
#48659E
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #286f9f;
/* rgb */ color: rgb(40, 111, 159);
/* oklch */ color: oklch(52.0% 0.103 242.3);
Tailwind
colors: {
  custom: {
    50: '#7398bb',
    500: '#286f9f',
    950: '#000000',
  },
}
SCSS
$custom: #286f9f;
$custom-light: #7398bb;
$custom-dark: #000000;
JSON
{
  "hex": "#286f9f",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 159
  },
  "hsl": {
    "h": 204.202,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.10289,
    "h": 242.3
  },
  "luminance": 0.14323
}

Semantic roles & 50–950 ramp

primary
#286F9F
secondary
#BF8964
accent
#8545E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #286F9F

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

Preview Lab → · Contrast checker → · Palette generator →

#286F9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva