#2864A8#2864A8

#2864A8 is a mid, vivid cyan. Relative luminance 0.124; OKLCH L 50.0% C 0.125 H 253.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2864A8
RGBrgb(40, 100, 168)
HSLhsl(212, 62%, 41%)
HSVhsv(212, 76%, 66%)
CMYKcmyk(76.2%, 40.5%, 0%, 34.1%)
CIE-LABlab(41.83, 4.98, -42.05)
CIE-LCHlch(41.83, 42.34, 276.75°)
OKLaboklab(49.95% -0.0347 -0.1201)
OKLCHoklch(49.95% 0.125 253.9)
XYZxyz(12.4975, 12.3912, 38.7713)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864A8 #A86C28
analogous
#28A4A8 #2864A8 #2C28A8
triadic
#2864A8 #A82864 #64A828
tetradic
#2864A8 #A828A4 #A86C28 #28A82C
square
#2864A8 #A828A4 #A86C28 #28A82C
split-complementary
#2864A8 #A82C28 #A4A828
monochromatic
#102945 #1C4777 #2864A8 #3D82D1 #6EA2DC

Accessibility & contrast

On white

6.04
#2864A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2864A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864A8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864A8#FFFFFF#000000##FFFFFF
##2864A81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#2F5DA7
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2864a8;
/* rgb */ color: rgb(40, 100, 168);
/* oklch */ color: oklch(50.0% 0.125 253.9);
Tailwind
colors: {
  custom: {
    50: '#748fc2',
    500: '#2864a8',
    950: '#000000',
  },
}
SCSS
$custom: #2864a8;
$custom-light: #748fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2864a8",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 168
  },
  "hsl": {
    "h": 211.875,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.12498,
    "h": 253.9
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#2864A8
secondary
#C39969
accent
#9943E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2864A8

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

Preview Lab → · Contrast checker → · Palette generator →

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