#2863BA#2863BA

#2863BA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.150 H 258.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2863BA
RGBrgb(40, 99, 186)
HSLhsl(216, 65%, 44%)
HSVhsv(216, 78%, 73%)
CMYKcmyk(78.5%, 46.8%, 0%, 27.1%)
CIE-LABlab(42.64, 12.53, -51.31)
CIE-LCHlch(42.64, 52.82, 283.72°)
OKLaboklab(50.93% -0.0301 -0.1473)
OKLCHoklch(50.93% 0.15 258.4)
XYZxyz(14.1966, 12.9183, 48.1901)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2863BA #BA7F28
analogous
#28ACBA #2863BA #3628BA
triadic
#2863BA #BA2863 #63BA28
tetradic
#2863BA #BA28AC #BA7F28 #28BA36
square
#2863BA #BA28AC #BA7F28 #28BA36
split-complementary
#2863BA #BA3628 #ACBA28
monochromatic
#122D55 #1D4888 #2863BA #4882D8 #7AA4E2

Accessibility & contrast

On white

5.86
#2863BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2863BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2863BA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2863BA#FFFFFF#000000##FFFFFF
##2863BA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#0B5EB8
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2863ba;
/* rgb */ color: rgb(40, 99, 186);
/* oklch */ color: oklch(50.9% 0.150 258.4);
Tailwind
colors: {
  custom: {
    50: '#788ecf',
    500: '#2863ba',
    950: '#000000',
  },
}
SCSS
$custom: #2863ba;
$custom-light: #788ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2863ba",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 215.753,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50932,
    "c": 0.15037,
    "h": 258.4
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#2863BA
secondary
#CAA773
accent
#A440E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2863BA

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

Preview Lab → · Contrast checker → · Palette generator →

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