#2856B0#2856B0

#2856B0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.153 H 262.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2856B0
RGBrgb(40, 86, 176)
HSLhsl(220, 63%, 42%)
HSVhsv(220, 77%, 69%)
CMYKcmyk(77.3%, 51.1%, 0%, 31%)
CIE-LABlab(38.27, 17.17, -52.49)
CIE-LCHlch(38.27, 55.23, 288.11°)
OKLaboklab(47.37% -0.0212 -0.151)
OKLCHoklch(47.37% 0.153 262)
XYZxyz(12.0365, 10.2399, 42.4080)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856B0 #B08228
analogous
#289AB0 #2856B0 #3E28B0
triadic
#2856B0 #B02856 #56B028
tetradic
#2856B0 #B0289A #B08228 #28B03E
square
#2856B0 #B0289A #B08228 #28B03E
split-complementary
#2856B0 #B03E28 #9AB028
monochromatic
#11254C #1D3E7E #2856B0 #4173D4 #7398DF

Accessibility & contrast

On white

6.89
#2856B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2856B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856B0
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856B0#FFFFFF#000000##FFFFFF
##2856B01.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2856b0;
/* rgb */ color: rgb(40, 86, 176);
/* oklch */ color: oklch(47.4% 0.153 262.0);
Tailwind
colors: {
  custom: {
    50: '#7685c8',
    500: '#2856b0',
    950: '#000000',
  },
}
SCSS
$custom: #2856b0;
$custom-light: #7685c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2856b0",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 176
  },
  "hsl": {
    "h": 219.706,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47366,
    "c": 0.15252,
    "h": 262
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#2856B0
secondary
#C6A86D
accent
#AE42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2856B0

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

Preview Lab → · Contrast checker → · Palette generator →

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