#2864AE#2864AE

#2864AE is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.3% C 0.133 H 255.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2864AE
RGBrgb(40, 100, 174)
HSLhsl(213, 63%, 42%)
HSVhsv(213, 77%, 68%)
CMYKcmyk(77%, 42.5%, 0%, 31.8%)
CIE-LABlab(42.18, 7.28, -45.02)
CIE-LCHlch(42.18, 45.60, 279.18°)
OKLaboklab(50.34% -0.0333 -0.1288)
OKLCHoklch(50.34% 0.133 255.5)
XYZxyz(13.0694, 12.6199, 41.7833)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864AE #AE7228
analogous
#28A7AE #2864AE #2F28AE
triadic
#2864AE #AE2864 #64AE28
tetradic
#2864AE #AE28A7 #AE7228 #28AE2F
square
#2864AE #AE28A7 #AE7228 #28AE2F
split-complementary
#2864AE #AE2F28 #A7AE28
monochromatic
#112B4A #1D477C #2864AE #4082D3 #72A3DF

Accessibility & contrast

On white

5.96
#2864AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2864AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864AE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864AE#FFFFFF#000000##FFFFFF
##2864AE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2864ae;
/* rgb */ color: rgb(40, 100, 174);
/* oklch */ color: oklch(50.3% 0.133 255.5);
Tailwind
colors: {
  custom: {
    50: '#758fc6',
    500: '#2864ae',
    950: '#000000',
  },
}
SCSS
$custom: #2864ae;
$custom-light: #758fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2864ae",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 174
  },
  "hsl": {
    "h": 213.134,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.13303,
    "h": 255.5
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#2864AE
secondary
#C69E6C
accent
#9C42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864AE

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

Preview Lab → · Contrast checker → · Palette generator →

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