#2864B7#2864B7

#2864B7 is a mid, vivid cyan. Relative luminance 0.130; OKLCH L 50.9% C 0.145 H 257.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2864B7
RGBrgb(40, 100, 183)
HSLhsl(215, 64%, 44%)
HSVhsv(215, 78%, 72%)
CMYKcmyk(78.1%, 45.4%, 0%, 28.2%)
CIE-LABlab(42.74, 10.73, -49.41)
CIE-LCHlch(42.74, 50.56, 282.26°)
OKLaboklab(50.95% -0.0315 -0.1417)
OKLCHoklch(50.95% 0.145 257.5)
XYZxyz(13.9763, 12.9827, 46.5599)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864B7 #B77B28
analogous
#28ABB7 #2864B7 #3328B7
triadic
#2864B7 #B72864 #64B728
tetradic
#2864B7 #B728AB #B77B28 #28B733
square
#2864B7 #B728AB #B77B28 #28B733
split-complementary
#2864B7 #B73328 #ABB728
monochromatic
#122D53 #1D4985 #2864B7 #4682D6 #78A4E1

Accessibility & contrast

On white

5.84
#2864B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2864B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864B7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864B7#FFFFFF#000000##FFFFFF
##2864B71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#195FB5
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2864b7;
/* rgb */ color: rgb(40, 100, 183);
/* oklch */ color: oklch(50.9% 0.145 257.5);
Tailwind
colors: {
  custom: {
    50: '#778fcd',
    500: '#2864b7',
    950: '#000000',
  },
}
SCSS
$custom: #2864b7;
$custom-light: #778fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2864b7",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 183
  },
  "hsl": {
    "h": 214.825,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.14515,
    "h": 257.5
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#2864B7
secondary
#C9A472
accent
#A141E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864B7

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

Preview Lab → · Contrast checker → · Palette generator →

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