#2864B1#2864B1

#2864B1 is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.5% C 0.137 H 256.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2864B1
RGBrgb(40, 100, 177)
HSLhsl(214, 63%, 43%)
HSVhsv(214, 77%, 69%)
CMYKcmyk(77.4%, 43.5%, 0%, 30.6%)
CIE-LABlab(42.37, 8.43, -46.49)
CIE-LCHlch(42.37, 47.25, 280.27°)
OKLaboklab(50.54% -0.0327 -0.1331)
OKLCHoklch(50.54% 0.137 256.2)
XYZxyz(13.3651, 12.7382, 43.3408)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864B1 #B17528
analogous
#28A8B1 #2864B1 #3128B1
triadic
#2864B1 #B12864 #64B128
tetradic
#2864B1 #B128A8 #B17528 #28B131
square
#2864B1 #B128A8 #B17528 #28B131
split-complementary
#2864B1 #B13128 #A8B128
monochromatic
#112C4D #1D487F #2864B1 #4282D4 #74A3E0

Accessibility & contrast

On white

5.92
#2864B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2864B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864B1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864B1#FFFFFF#000000##FFFFFF
##2864B11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB4
Deuteranopia (green-blind)
#245EAF
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2864b1;
/* rgb */ color: rgb(40, 100, 177);
/* oklch */ color: oklch(50.5% 0.137 256.2);
Tailwind
colors: {
  custom: {
    50: '#768fc9',
    500: '#2864b1',
    950: '#000000',
  },
}
SCSS
$custom: #2864b1;
$custom-light: #768fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2864b1",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 177
  },
  "hsl": {
    "h": 213.723,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50539,
    "c": 0.13706,
    "h": 256.2
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#2864B1
secondary
#C7A06E
accent
#9E42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864B1

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

Preview Lab → · Contrast checker → · Palette generator →

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