#2863C7#2863C7

#2863C7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.168 H 260.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2863C7
RGBrgb(40, 99, 199)
HSLhsl(218, 67%, 47%)
HSVhsv(218, 80%, 78%)
CMYKcmyk(79.9%, 50.3%, 0%, 22%)
CIE-LABlab(43.50, 17.53, -57.46)
CIE-LCHlch(43.50, 60.08, 286.96°)
OKLaboklab(51.87% -0.0281 -0.1654)
OKLCHoklch(51.87% 0.168 260.3)
XYZxyz(15.6420, 13.4964, 55.8024)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2863C7 #C78C28
analogous
#28B3C7 #2863C7 #3D28C7
triadic
#2863C7 #C72863 #63C728
tetradic
#2863C7 #C728B3 #C78C28 #28C73D
square
#2863C7 #C728B3 #C78C28 #28C73D
split-complementary
#2863C7 #C73D28 #B3C728
monochromatic
#143061 #1E4A94 #2863C7 #5084DC #83A8E6

Accessibility & contrast

On white

5.68
#2863C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2863C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2863C7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2863C7#FFFFFF#000000##FFFFFF
##2863C71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246ECB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#007B8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2863c7;
/* rgb */ color: rgb(40, 99, 199);
/* oklch */ color: oklch(51.9% 0.168 260.3);
Tailwind
colors: {
  custom: {
    50: '#7b8ed9',
    500: '#2863c7',
    950: '#000000',
  },
}
SCSS
$custom: #2863c7;
$custom-light: #7b8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2863c7",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 199
  },
  "hsl": {
    "h": 217.736,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.1678,
    "h": 260.3
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2863C7

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

Preview Lab → · Contrast checker → · Palette generator →

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