#2864AD#2864AD

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

Color values

HEX#2864AD
RGBrgb(40, 100, 173)
HSLhsl(213, 62%, 42%)
HSVhsv(213, 77%, 68%)
CMYKcmyk(76.9%, 42.2%, 0%, 32.2%)
CIE-LABlab(42.13, 6.89, -44.53)
CIE-LCHlch(42.13, 45.06, 278.80°)
OKLaboklab(50.27% -0.0335 -0.1273)
OKLCHoklch(50.27% 0.132 255.3)
XYZxyz(12.9723, 12.5811, 41.2718)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864AD #AD7128
analogous
#28A7AD #2864AD #2E28AD
triadic
#2864AD #AD2864 #64AD28
tetradic
#2864AD #AD28A7 #AD7128 #28AD2E
square
#2864AD #AD28A7 #AD7128 #28AD2E
split-complementary
#2864AD #AD2E28 #A7AD28
monochromatic
#112B4A #1D477B #2864AD #3F82D3 #71A2DE

Accessibility & contrast

On white

5.97
#2864AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2864AD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864AD#FFFFFF#000000##FFFFFF
##2864AD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB0
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2864ad;
/* rgb */ color: rgb(40, 100, 173);
/* oklch */ color: oklch(50.3% 0.132 255.3);
Tailwind
colors: {
  custom: {
    50: '#758fc6',
    500: '#2864ad',
    950: '#000000',
  },
}
SCSS
$custom: #2864ad;
$custom-light: #758fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2864ad",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 173
  },
  "hsl": {
    "h": 212.932,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.13168,
    "h": 255.3
  },
  "luminance": 0.12583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2864AD

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

Preview Lab → · Contrast checker → · Palette generator →

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