#2864AC#2864AC

#2864AC is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.2% C 0.130 H 255.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2864AC
RGBrgb(40, 100, 172)
HSLhsl(213, 62%, 42%)
HSVhsv(213, 77%, 67%)
CMYKcmyk(76.7%, 41.9%, 0%, 32.5%)
CIE-LABlab(42.07, 6.51, -44.03)
CIE-LCHlch(42.07, 44.51, 278.41°)
OKLaboklab(50.21% -0.0337 -0.1259)
OKLCHoklch(50.21% 0.13 255)
XYZxyz(12.8759, 12.5425, 40.7641)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864AC #AC7028
analogous
#28A6AC #2864AC #2E28AC
triadic
#2864AC #AC2864 #64AC28
tetradic
#2864AC #AC28A6 #AC7028 #28AC2E
square
#2864AC #AC28A6 #AC7028 #28AC2E
split-complementary
#2864AC #AC2E28 #A6AC28
monochromatic
#112A49 #1C477A #2864AC #3F82D2 #71A2DE

Accessibility & contrast

On white

5.98
#2864AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2864AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864AC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864AC#FFFFFF#000000##FFFFFF
##2864AC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#2A5EAB
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2864ac;
/* rgb */ color: rgb(40, 100, 172);
/* oklch */ color: oklch(50.2% 0.130 255.0);
Tailwind
colors: {
  custom: {
    50: '#758fc5',
    500: '#2864ac',
    950: '#000000',
  },
}
SCSS
$custom: #2864ac;
$custom-light: #758fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2864ac",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 172
  },
  "hsl": {
    "h": 212.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.13033,
    "h": 255
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#2864AC
secondary
#C59C6B
accent
#9B42E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864AC

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

Preview Lab → · Contrast checker → · Palette generator →

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