#2856B3#2856B3

#2856B3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.157 H 262.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2856B3
RGBrgb(40, 86, 179)
HSLhsl(220, 63%, 43%)
HSVhsv(220, 78%, 70%)
CMYKcmyk(77.7%, 52%, 0%, 29.8%)
CIE-LABlab(38.48, 18.33, -53.92)
CIE-LCHlch(38.48, 56.95, 288.77°)
OKLaboklab(47.59% -0.0208 -0.1552)
OKLCHoklch(47.59% 0.157 262.4)
XYZxyz(12.3366, 10.3599, 43.9886)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856B3 #B38528
analogous
#289BB3 #2856B3 #4028B3
triadic
#2856B3 #B32856 #56B328
tetradic
#2856B3 #B3289B #B38528 #28B340
square
#2856B3 #B3289B #B38528 #28B340
split-complementary
#2856B3 #B34028 #9BB328
monochromatic
#12264F #1D3E81 #2856B3 #4373D5 #7599E0

Accessibility & contrast

On white

6.84
#2856B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2856B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856B3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856B3#FFFFFF#000000##FFFFFF
##2856B31.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2856b3;
/* rgb */ color: rgb(40, 86, 179);
/* oklch */ color: oklch(47.6% 0.157 262.4);
Tailwind
colors: {
  custom: {
    50: '#7785ca',
    500: '#2856b3',
    950: '#000000',
  },
}
SCSS
$custom: #2856b3;
$custom-light: #7785ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2856b3",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 220.144,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.15663,
    "h": 262.4
  },
  "luminance": 0.10361
}

Semantic roles & 50–950 ramp

primary
#2856B3
secondary
#C8AA6F
accent
#B041E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2856B3

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

Preview Lab → · Contrast checker → · Palette generator →

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