#2864B5#2864B5

#2864B5 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.8% C 0.142 H 257.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2864B5
RGBrgb(40, 100, 181)
HSLhsl(214, 64%, 43%)
HSVhsv(214, 78%, 71%)
CMYKcmyk(77.9%, 44.8%, 0%, 29%)
CIE-LABlab(42.61, 9.96, -48.44)
CIE-LCHlch(42.61, 49.45, 281.62°)
OKLaboklab(50.81% -0.0319 -0.1388)
OKLCHoklch(50.81% 0.142 257.1)
XYZxyz(13.7697, 12.9000, 45.4713)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864B5 #B57928
analogous
#28AAB5 #2864B5 #3228B5
triadic
#2864B5 #B52864 #64B528
tetradic
#2864B5 #B528AA #B57928 #28B532
square
#2864B5 #B528AA #B57928 #28B532
split-complementary
#2864B5 #B53228 #AAB528
monochromatic
#122D51 #1D4883 #2864B5 #4482D6 #77A4E1

Accessibility & contrast

On white

5.87
#2864B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2864B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864B5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864B5#FFFFFF#000000##FFFFFF
##2864B51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB8
Deuteranopia (green-blind)
#1D5FB3
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2864b5;
/* rgb */ color: rgb(40, 100, 181);
/* oklch */ color: oklch(50.8% 0.142 257.1);
Tailwind
colors: {
  custom: {
    50: '#778fcc',
    500: '#2864b5',
    950: '#000000',
  },
}
SCSS
$custom: #2864b5;
$custom-light: #778fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2864b5",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 214.468,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50809,
    "c": 0.14245,
    "h": 257.1
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#2864B5
secondary
#C8A370
accent
#A041E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864B5

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

Preview Lab → · Contrast checker → · Palette generator →

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