#2856C0#2856C0

#2856C0 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.174 H 263.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2856C0
RGBrgb(40, 86, 192)
HSLhsl(222, 66%, 45%)
HSVhsv(222, 79%, 75%)
CMYKcmyk(79.2%, 55.2%, 0%, 24.7%)
CIE-LABlab(39.43, 23.32, -60.00)
CIE-LCHlch(39.43, 64.37, 291.24°)
OKLaboklab(48.61% -0.0196 -0.1731)
OKLCHoklch(48.61% 0.174 263.5)
XYZxyz(13.7139, 10.9109, 51.2422)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856C0 #C09228
analogous
#28A2C0 #2856C0 #4628C0
triadic
#2856C0 #C02856 #56C028
tetradic
#2856C0 #C028A2 #C09228 #28C046
square
#2856C0 #C028A2 #C09228 #28C046
split-complementary
#2856C0 #C04628 #A2C028
monochromatic
#13295B #1D3F8D #2856C0 #4C77DA #7E9DE4

Accessibility & contrast

On white

6.60
#2856C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2856C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856C0
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856C0#FFFFFF#000000##FFFFFF
##2856C01.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2856c0;
/* rgb */ color: rgb(40, 86, 192);
/* oklch */ color: oklch(48.6% 0.174 263.5);
Tailwind
colors: {
  custom: {
    50: '#7a85d4',
    500: '#2856c0',
    950: '#000000',
  },
}
SCSS
$custom: #2856c0;
$custom-light: #7a85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2856c0",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 192
  },
  "hsl": {
    "h": 221.842,
    "s": 65.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.17423,
    "h": 263.5
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#2856C0
secondary
#CDB377
accent
#B53FE8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2856C0

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

Preview Lab → · Contrast checker → · Palette generator →

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