#2856B2#2856B2

#2856B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.155 H 262.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2856B2
RGBrgb(40, 86, 178)
HSLhsl(220, 63%, 43%)
HSVhsv(220, 78%, 70%)
CMYKcmyk(77.5%, 51.7%, 0%, 30.2%)
CIE-LABlab(38.41, 17.94, -53.44)
CIE-LCHlch(38.41, 56.37, 288.56°)
OKLaboklab(47.52% -0.021 -0.1538)
OKLCHoklch(47.52% 0.155 262.2)
XYZxyz(12.2359, 10.3196, 43.4579)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856B2 #B28428
analogous
#289BB2 #2856B2 #3F28B2
triadic
#2856B2 #B22856 #56B228
tetradic
#2856B2 #B2289B #B28428 #28B23F
square
#2856B2 #B2289B #B28428 #28B23F
split-complementary
#2856B2 #B23F28 #9BB228
monochromatic
#12264E #1D3E80 #2856B2 #4373D5 #7598E0

Accessibility & contrast

On white

6.85
#2856B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2856B2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856B2#FFFFFF#000000##FFFFFF
##2856B21.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2856b2;
/* rgb */ color: rgb(40, 86, 178);
/* oklch */ color: oklch(47.5% 0.155 262.2);
Tailwind
colors: {
  custom: {
    50: '#7785ca',
    500: '#2856b2',
    950: '#000000',
  },
}
SCSS
$custom: #2856b2;
$custom-light: #7785ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2856b2",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 220,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47518,
    "c": 0.15526,
    "h": 262.2
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#2856B2
secondary
#C7AA6F
accent
#AF41E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2856B2

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

Preview Lab → · Contrast checker → · Palette generator →

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