#2864B4#2864B4

#2864B4 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.7% C 0.141 H 256.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2864B4
RGBrgb(40, 100, 180)
HSLhsl(214, 64%, 43%)
HSVhsv(214, 78%, 71%)
CMYKcmyk(77.8%, 44.4%, 0%, 29.4%)
CIE-LABlab(42.55, 9.58, -47.95)
CIE-LCHlch(42.55, 48.90, 281.30°)
OKLaboklab(50.74% -0.0321 -0.1374)
OKLCHoklch(50.74% 0.141 256.9)
XYZxyz(13.6674, 12.8592, 44.9329)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864B4 #B47828
analogous
#28AAB4 #2864B4 #3228B4
triadic
#2864B4 #B42864 #64B428
tetradic
#2864B4 #B428AA #B47828 #28B432
square
#2864B4 #B428AA #B47828 #28B432
split-complementary
#2864B4 #B43228 #AAB428
monochromatic
#122C50 #1D4882 #2864B4 #4482D5 #76A4E1

Accessibility & contrast

On white

5.88
#2864B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2864B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864B4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864B4#FFFFFF#000000##FFFFFF
##2864B41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB7
Deuteranopia (green-blind)
#1F5FB2
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2864b4;
/* rgb */ color: rgb(40, 100, 180);
/* oklch */ color: oklch(50.7% 0.141 256.9);
Tailwind
colors: {
  custom: {
    50: '#778fcb',
    500: '#2864b4',
    950: '#000000',
  },
}
SCSS
$custom: #2864b4;
$custom-light: #778fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2864b4",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 180
  },
  "hsl": {
    "h": 214.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.1411,
    "h": 256.9
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#2864B4
secondary
#C8A270
accent
#A041E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2864B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva