#2856B1#2856B1

#2856B1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.154 H 262.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2856B1
RGBrgb(40, 86, 177)
HSLhsl(220, 63%, 43%)
HSVhsv(220, 77%, 69%)
CMYKcmyk(77.4%, 51.4%, 0%, 30.6%)
CIE-LABlab(38.34, 17.55, -52.97)
CIE-LCHlch(38.34, 55.80, 288.33°)
OKLaboklab(47.44% -0.0211 -0.1524)
OKLCHoklch(47.44% 0.154 262.1)
XYZxyz(12.1358, 10.2796, 42.9310)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856B1 #B18328
analogous
#289BB1 #2856B1 #3E28B1
triadic
#2856B1 #B12856 #56B128
tetradic
#2856B1 #B1289B #B18328 #28B13E
square
#2856B1 #B1289B #B18328 #28B13E
split-complementary
#2856B1 #B13E28 #9BB128
monochromatic
#11254D #1D3E7F #2856B1 #4273D4 #7498E0

Accessibility & contrast

On white

6.87
#2856B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2856B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856B1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856B1#FFFFFF#000000##FFFFFF
##2856B11.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2856b1;
/* rgb */ color: rgb(40, 86, 177);
/* oklch */ color: oklch(47.4% 0.154 262.1);
Tailwind
colors: {
  custom: {
    50: '#7785c9',
    500: '#2856b1',
    950: '#000000',
  },
}
SCSS
$custom: #2856b1;
$custom-light: #7785c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2856b1",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 177
  },
  "hsl": {
    "h": 219.854,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.15389,
    "h": 262.1
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#2856B1
secondary
#C7A96E
accent
#AF42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2856B1

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

Preview Lab → · Contrast checker → · Palette generator →

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