#2864B3#2864B3

#2864B3 is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.7% C 0.140 H 256.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2864B3
RGBrgb(40, 100, 179)
HSLhsl(214, 63%, 43%)
HSVhsv(214, 78%, 70%)
CMYKcmyk(77.7%, 44.1%, 0%, 29.8%)
CIE-LABlab(42.49, 9.19, -47.47)
CIE-LCHlch(42.49, 48.35, 280.96°)
OKLaboklab(50.67% -0.0323 -0.136)
OKLCHoklch(50.67% 0.14 256.7)
XYZxyz(13.5659, 12.8186, 44.3983)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864B3 #B37728
analogous
#28A9B3 #2864B3 #3228B3
triadic
#2864B3 #B32864 #64B328
tetradic
#2864B3 #B328A9 #B37728 #28B332
square
#2864B3 #B328A9 #B37728 #28B332
split-complementary
#2864B3 #B33228 #A9B328
monochromatic
#122C4F #1D4881 #2864B3 #4382D5 #75A3E0

Accessibility & contrast

On white

5.89
#2864B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2864B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864B3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864B3#FFFFFF#000000##FFFFFF
##2864B31.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB6
Deuteranopia (green-blind)
#205EB1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2864b3;
/* rgb */ color: rgb(40, 100, 179);
/* oklch */ color: oklch(50.7% 0.140 256.7);
Tailwind
colors: {
  custom: {
    50: '#778fca',
    500: '#2864b3',
    950: '#000000',
  },
}
SCSS
$custom: #2864b3;
$custom-light: #778fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2864b3",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 214.101,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.13975,
    "h": 256.7
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#2864B3
secondary
#C8A16F
accent
#9F41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864B3

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

Preview Lab → · Contrast checker → · Palette generator →

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