#2863B7#2863B7

#2863B7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.146 H 257.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2863B7
RGBrgb(40, 99, 183)
HSLhsl(215, 64%, 44%)
HSVhsv(215, 78%, 72%)
CMYKcmyk(78.1%, 45.9%, 0%, 28.2%)
CIE-LABlab(42.45, 11.38, -49.87)
CIE-LCHlch(42.45, 51.15, 282.85°)
OKLaboklab(50.72% -0.0307 -0.1431)
OKLCHoklch(50.72% 0.146 257.9)
XYZxyz(13.8810, 12.7921, 46.5281)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2863B7 #B77C28
analogous
#28AAB7 #2863B7 #3428B7
triadic
#2863B7 #B72863 #63B728
tetradic
#2863B7 #B728AA #B77C28 #28B734
square
#2863B7 #B728AA #B77C28 #28B734
split-complementary
#2863B7 #B73428 #AAB728
monochromatic
#122D53 #1D4885 #2863B7 #4681D6 #78A3E1

Accessibility & contrast

On white

5.90
#2863B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2863B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2863B7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2863B7#FFFFFF#000000##FFFFFF
##2863B71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#145EB5
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2863b7;
/* rgb */ color: rgb(40, 99, 183);
/* oklch */ color: oklch(50.7% 0.146 257.9);
Tailwind
colors: {
  custom: {
    50: '#778ecd',
    500: '#2863b7',
    950: '#000000',
  },
}
SCSS
$custom: #2863b7;
$custom-light: #778ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2863b7",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 183
  },
  "hsl": {
    "h": 215.245,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50723,
    "c": 0.14632,
    "h": 257.9
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#2863B7
secondary
#C9A572
accent
#A241E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2863B7

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

Preview Lab → · Contrast checker → · Palette generator →

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