#2864AF#2864AF

#2864AF is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.134 H 255.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2864AF
RGBrgb(40, 100, 175)
HSLhsl(213, 63%, 42%)
HSVhsv(213, 77%, 69%)
CMYKcmyk(77.1%, 42.9%, 0%, 31.4%)
CIE-LABlab(42.24, 7.66, -45.51)
CIE-LCHlch(42.24, 46.15, 279.55°)
OKLaboklab(50.41% -0.0331 -0.1302)
OKLCHoklch(50.41% 0.134 255.7)
XYZxyz(13.1672, 12.6591, 42.2986)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864AF #AF7328
analogous
#28A8AF #2864AF #2F28AF
triadic
#2864AF #AF2864 #64AF28
tetradic
#2864AF #AF28A8 #AF7328 #28AF2F
square
#2864AF #AF28A8 #AF7328 #28AF2F
split-complementary
#2864AF #AF2F28 #A8AF28
monochromatic
#112B4B #1D487D #2864AF #4182D4 #73A3DF

Accessibility & contrast

On white

5.95
#2864AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2864AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864AF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864AF#FFFFFF#000000##FFFFFF
##2864AF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB2
Deuteranopia (green-blind)
#265EAE
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2864af;
/* rgb */ color: rgb(40, 100, 175);
/* oklch */ color: oklch(50.4% 0.134 255.7);
Tailwind
colors: {
  custom: {
    50: '#768fc7',
    500: '#2864af',
    950: '#000000',
  },
}
SCSS
$custom: #2864af;
$custom-light: #768fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2864af",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 213.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.13437,
    "h": 255.7
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#2864AF
secondary
#C69E6D
accent
#9D42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864AF

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

Preview Lab → · Contrast checker → · Palette generator →

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