#2856AD#2856AD

#2856AD is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.148 H 261.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2856AD
RGBrgb(40, 86, 173)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 77%, 68%)
CMYKcmyk(76.9%, 50.3%, 0%, 32.2%)
CIE-LABlab(38.06, 16.01, -51.05)
CIE-LCHlch(38.06, 53.50, 287.41°)
OKLaboklab(47.14% -0.0216 -0.1468)
OKLCHoklch(47.14% 0.148 261.6)
XYZxyz(11.7430, 10.1225, 40.8620)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856AD #AD7F28
analogous
#2899AD #2856AD #3D28AD
triadic
#2856AD #AD2856 #56AD28
tetradic
#2856AD #AD2899 #AD7F28 #28AD3D
square
#2856AD #AD2899 #AD7F28 #28AD3D
split-complementary
#2856AD #AD3D28 #99AD28
monochromatic
#11254A #1D3D7B #2856AD #3F72D3 #7197DE

Accessibility & contrast

On white

6.94
#2856AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2856AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856AD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856AD#FFFFFF#000000##FFFFFF
##2856AD1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2856ad;
/* rgb */ color: rgb(40, 86, 173);
/* oklch */ color: oklch(47.1% 0.148 261.6);
Tailwind
colors: {
  custom: {
    50: '#7685c6',
    500: '#2856ad',
    950: '#000000',
  },
}
SCSS
$custom: #2856ad;
$custom-light: #7685c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2856ad",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 219.248,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47141,
    "c": 0.14838,
    "h": 261.6
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#2856AD
secondary
#C5A66C
accent
#AD42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2856AD

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

Preview Lab → · Contrast checker → · Palette generator →

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