#286BBB#286BBB

#286BBB is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.142 H 255.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#286BBB
RGBrgb(40, 107, 187)
HSLhsl(213, 65%, 45%)
HSVhsv(213, 79%, 73%)
CMYKcmyk(78.6%, 42.8%, 0%, 26.7%)
CIE-LABlab(45.02, 7.80, -48.08)
CIE-LCHlch(45.02, 48.71, 279.21°)
OKLaboklab(52.79% -0.0366 -0.1377)
OKLCHoklch(52.79% 0.142 255.1)
XYZxyz(15.0991, 14.5526, 49.0172)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286BBB #BB7828
analogous
#28B5BB #286BBB #2E28BB
triadic
#286BBB #BB286B #6BBB28
tetradic
#286BBB #BB28B5 #BB7828 #28BB2E
square
#286BBB #BB28B5 #BB7828 #28BB2E
split-complementary
#286BBB #BB2E28 #B5BB28
monochromatic
#123156 #1D4E89 #286BBB #488AD8 #7BAAE3

Accessibility & contrast

On white

5.37
#286BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#286BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286BBB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286BBB#FFFFFF#000000##FFFFFF
##286BBB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #286bbb;
/* rgb */ color: rgb(40, 107, 187);
/* oklch */ color: oklch(52.8% 0.142 255.1);
Tailwind
colors: {
  custom: {
    50: '#7894d0',
    500: '#286bbb',
    950: '#000000',
  },
}
SCSS
$custom: #286bbb;
$custom-light: #7894d0;
$custom-dark: #000000;
JSON
{
  "hex": "#286bbb",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 212.653,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.14244,
    "h": 255.1
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #286BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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