#2856BC#2856BC

#2856BC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.169 H 263.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2856BC
RGBrgb(40, 86, 188)
HSLhsl(221, 65%, 45%)
HSVhsv(221, 79%, 74%)
CMYKcmyk(78.7%, 54.3%, 0%, 26.3%)
CIE-LABlab(39.13, 21.79, -58.15)
CIE-LCHlch(39.13, 62.10, 290.54°)
OKLaboklab(48.3% -0.0199 -0.1677)
OKLCHoklch(48.3% 0.169 263.2)
XYZxyz(13.2767, 10.7360, 48.9397)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856BC #BC8E28
analogous
#28A0BC #2856BC #4428BC
triadic
#2856BC #BC2856 #56BC28
tetradic
#2856BC #BC28A0 #BC8E28 #28BC44
square
#2856BC #BC28A0 #BC8E28 #28BC44
split-complementary
#2856BC #BC4428 #A0BC28
monochromatic
#132857 #1D3F8A #2856BC #4975D8 #7B9CE3

Accessibility & contrast

On white

6.67
#2856BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2856BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856BC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856BC#FFFFFF#000000##FFFFFF
##2856BC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2856bc;
/* rgb */ color: rgb(40, 86, 188);
/* oklch */ color: oklch(48.3% 0.169 263.2);
Tailwind
colors: {
  custom: {
    50: '#7985d1',
    500: '#2856bc',
    950: '#000000',
  },
}
SCSS
$custom: #2856bc;
$custom-light: #7985d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2856bc",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 221.351,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.16886,
    "h": 263.2
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#2856BC
secondary
#CBB075
accent
#B440E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2856BC

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

Preview Lab → · Contrast checker → · Palette generator →

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