#2864C7#2864C7

#2864C7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.167 H 260.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2864C7
RGBrgb(40, 100, 199)
HSLhsl(217, 67%, 47%)
HSVhsv(217, 80%, 78%)
CMYKcmyk(79.9%, 49.7%, 0%, 22%)
CIE-LABlab(43.78, 16.88, -57.01)
CIE-LCHlch(43.78, 59.46, 286.49°)
OKLaboklab(52.08% -0.0289 -0.1641)
OKLCHoklch(52.08% 0.167 260)
XYZxyz(15.7373, 13.6871, 55.8342)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864C7 #C78B28
analogous
#28B4C7 #2864C7 #3B28C7
triadic
#2864C7 #C72864 #64C728
tetradic
#2864C7 #C728B4 #C78B28 #28C73B
square
#2864C7 #C728B4 #C78B28 #28C73B
split-complementary
#2864C7 #C73B28 #B4C728
monochromatic
#143161 #1E4A94 #2864C7 #5085DC #83A9E6

Accessibility & contrast

On white

5.62
#2864C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2864C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864C7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864C7#FFFFFF#000000##FFFFFF
##2864C71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276FCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2864c7;
/* rgb */ color: rgb(40, 100, 199);
/* oklch */ color: oklch(52.1% 0.167 260.0);
Tailwind
colors: {
  custom: {
    50: '#7b8fd9',
    500: '#2864c7',
    950: '#000000',
  },
}
SCSS
$custom: #2864c7;
$custom-light: #7b8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2864c7",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 199
  },
  "hsl": {
    "h": 217.358,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52083,
    "c": 0.16659,
    "h": 260
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#2864C7
secondary
#CFB07C
accent
#A93EE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2864C7

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

Preview Lab → · Contrast checker → · Palette generator →

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