#286CBB#286CBB

#286CBB is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.141 H 254.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#286CBB
RGBrgb(40, 108, 187)
HSLhsl(212, 65%, 45%)
HSVhsv(212, 79%, 73%)
CMYKcmyk(78.6%, 42.2%, 0%, 26.7%)
CIE-LABlab(45.31, 7.17, -47.62)
CIE-LCHlch(45.31, 48.15, 278.56°)
OKLaboklab(53.02% -0.0374 -0.1363)
OKLCHoklch(53.02% 0.141 254.6)
XYZxyz(15.2039, 14.7623, 49.0522)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286CBB #BB7728
analogous
#28B6BB #286CBB #2E28BB
triadic
#286CBB #BB286C #6CBB28
tetradic
#286CBB #BB28B6 #BB7728 #28BB2E
square
#286CBB #BB28B6 #BB7728 #28BB2E
split-complementary
#286CBB #BB2E28 #B6BB28
monochromatic
#123256 #1D4F89 #286CBB #488BD8 #7BABE3

Accessibility & contrast

On white

5.31
#286CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#286CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286CBB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286CBB#FFFFFF#000000##FFFFFF
##286CBB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4572BE
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #286cbb;
/* rgb */ color: rgb(40, 108, 187);
/* oklch */ color: oklch(53.0% 0.141 254.6);
Tailwind
colors: {
  custom: {
    50: '#7895d0',
    500: '#286cbb',
    950: '#000000',
  },
}
SCSS
$custom: #286cbb;
$custom-light: #7895d0;
$custom-dark: #000000;
JSON
{
  "hex": "#286cbb",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 212.245,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.14132,
    "h": 254.6
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#286CBB
secondary
#CBA374
accent
#9A40E8
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #286CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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