#2864B2#2864B2

#2864B2 is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.6% C 0.138 H 256.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2864B2
RGBrgb(40, 100, 178)
HSLhsl(214, 63%, 43%)
HSVhsv(214, 78%, 70%)
CMYKcmyk(77.5%, 43.8%, 0%, 30.2%)
CIE-LABlab(42.43, 8.81, -46.98)
CIE-LCHlch(42.43, 47.80, 280.62°)
OKLaboklab(50.61% -0.0325 -0.1345)
OKLCHoklch(50.61% 0.138 256.4)
XYZxyz(13.4652, 12.7782, 43.8676)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864B2 #B27628
analogous
#28A9B2 #2864B2 #3128B2
triadic
#2864B2 #B22864 #64B228
tetradic
#2864B2 #B228A9 #B27628 #28B231
square
#2864B2 #B228A9 #B27628 #28B231
split-complementary
#2864B2 #B23128 #A9B228
monochromatic
#122C4E #1D4880 #2864B2 #4382D5 #75A3E0

Accessibility & contrast

On white

5.91
#2864B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2864B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864B2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864B2#FFFFFF#000000##FFFFFF
##2864B21.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#225EB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2864b2;
/* rgb */ color: rgb(40, 100, 178);
/* oklch */ color: oklch(50.6% 0.138 256.4);
Tailwind
colors: {
  custom: {
    50: '#768fc9',
    500: '#2864b2',
    950: '#000000',
  },
}
SCSS
$custom: #2864b2;
$custom-light: #768fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2864b2",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 213.913,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.13841,
    "h": 256.4
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#2864B2
secondary
#C7A16F
accent
#9F41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2864B2

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

Preview Lab → · Contrast checker → · Palette generator →

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