#2856BA#2856BA

#2856BA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.166 H 263.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2856BA
RGBrgb(40, 86, 186)
HSLhsl(221, 65%, 44%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(78.5%, 53.8%, 0%, 27.1%)
CIE-LABlab(38.99, 21.02, -57.21)
CIE-LCHlch(38.99, 60.95, 290.18°)
OKLaboklab(48.14% -0.0201 -0.1649)
OKLCHoklch(48.14% 0.166 263)
XYZxyz(13.0626, 10.6503, 47.8121)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856BA #BA8C28
analogous
#289FBA #2856BA #4328BA
triadic
#2856BA #BA2856 #56BA28
tetradic
#2856BA #BA289F #BA8C28 #28BA43
square
#2856BA #BA289F #BA8C28 #28BA43
split-complementary
#2856BA #BA4328 #9FBA28
monochromatic
#122755 #1D3F88 #2856BA #4875D8 #7A9BE2

Accessibility & contrast

On white

6.71
#2856BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2856BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856BA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856BA#FFFFFF#000000##FFFFFF
##2856BA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0263BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2856ba;
/* rgb */ color: rgb(40, 86, 186);
/* oklch */ color: oklch(48.1% 0.166 263.0);
Tailwind
colors: {
  custom: {
    50: '#7985cf',
    500: '#2856ba',
    950: '#000000',
  },
}
SCSS
$custom: #2856ba;
$custom-light: #7985cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2856ba",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 221.096,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.16615,
    "h": 263
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#2856BA
secondary
#CAAF73
accent
#B340E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2856BA

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

Preview Lab → · Contrast checker → · Palette generator →

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