#2863CA#2863CA

#2863CA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.1% C 0.172 H 260.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2863CA
RGBrgb(40, 99, 202)
HSLhsl(218, 67%, 47%)
HSVhsv(218, 80%, 79%)
CMYKcmyk(80.2%, 51%, 0%, 20.8%)
CIE-LABlab(43.71, 18.68, -58.86)
CIE-LCHlch(43.71, 61.75, 287.61°)
OKLaboklab(52.09% -0.0278 -0.1695)
OKLCHoklch(52.09% 0.172 260.7)
XYZxyz(15.9937, 13.6371, 57.6550)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2863CA #CA8F28
analogous
#28B4CA #2863CA #3E28CA
triadic
#2863CA #CA2863 #63CA28
tetradic
#2863CA #CA28B4 #CA8F28 #28CA3E
square
#2863CA #CA28B4 #CA8F28 #28CA3E
split-complementary
#2863CA #CA3E28 #B4CA28
monochromatic
#143164 #1E4A97 #2863CA #5285DD #85A9E7

Accessibility & contrast

On white

5.63
#2863CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2863CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2863CA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2863CA#FFFFFF#000000##FFFFFF
##2863CA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6FCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2863ca;
/* rgb */ color: rgb(40, 99, 202);
/* oklch */ color: oklch(52.1% 0.172 260.7);
Tailwind
colors: {
  custom: {
    50: '#7c8edb',
    500: '#2863ca',
    950: '#000000',
  },
}
SCSS
$custom: #2863ca;
$custom-light: #7c8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2863ca",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 202
  },
  "hsl": {
    "h": 218.148,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.17179,
    "h": 260.7
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#2863CA
secondary
#D0B27E
accent
#AB3EEA
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2863CA

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

Preview Lab → · Contrast checker → · Palette generator →

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