#2864AB#2864AB

#2864AB is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.1% C 0.129 H 254.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2864AB
RGBrgb(40, 100, 171)
HSLhsl(213, 62%, 41%)
HSVhsv(213, 77%, 67%)
CMYKcmyk(76.6%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.01, 6.13, -43.54)
CIE-LCHlch(42.01, 43.97, 278.01°)
OKLaboklab(50.14% -0.034 -0.1244)
OKLCHoklch(50.14% 0.129 254.7)
XYZxyz(12.7802, 12.5043, 40.2602)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864AB #AB6F28
analogous
#28A6AB #2864AB #2E28AB
triadic
#2864AB #AB2864 #64AB28
tetradic
#2864AB #AB28A6 #AB6F28 #28AB2E
square
#2864AB #AB28A6 #AB6F28 #28AB2E
split-complementary
#2864AB #AB2E28 #A6AB28
monochromatic
#112A48 #1C4779 #2864AB #3E82D2 #70A2DE

Accessibility & contrast

On white

6.00
#2864AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2864AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864AB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864AB#FFFFFF#000000##FFFFFF
##2864AB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#2B5EAA
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2864ab;
/* rgb */ color: rgb(40, 100, 171);
/* oklch */ color: oklch(50.1% 0.129 254.7);
Tailwind
colors: {
  custom: {
    50: '#758fc4',
    500: '#2864ab',
    950: '#000000',
  },
}
SCSS
$custom: #2864ab;
$custom-light: #758fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2864ab",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 212.519,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.12899,
    "h": 254.7
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#2864AB
secondary
#C49B6A
accent
#9B43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864AB

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

Preview Lab → · Contrast checker → · Palette generator →

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