#2856AB#2856AB

#2856AB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.146 H 261.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2856AB
RGBrgb(40, 86, 171)
HSLhsl(219, 62%, 41%)
HSVhsv(219, 77%, 67%)
CMYKcmyk(76.6%, 49.7%, 0%, 32.9%)
CIE-LABlab(37.92, 15.23, -50.09)
CIE-LCHlch(37.92, 52.35, 286.91°)
OKLaboklab(46.99% -0.0219 -0.144)
OKLCHoklch(46.99% 0.146 261.4)
XYZxyz(11.5509, 10.0457, 39.8504)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856AB #AB7D28
analogous
#2898AB #2856AB #3C28AB
triadic
#2856AB #AB2856 #56AB28
tetradic
#2856AB #AB2898 #AB7D28 #28AB3C
square
#2856AB #AB2898 #AB7D28 #28AB3C
split-complementary
#2856AB #AB3C28 #98AB28
monochromatic
#112448 #1C3D79 #2856AB #3E72D2 #7096DE

Accessibility & contrast

On white

6.98
#2856AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2856AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856AB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856AB#FFFFFF#000000##FFFFFF
##2856AB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2856ab;
/* rgb */ color: rgb(40, 86, 171);
/* oklch */ color: oklch(47.0% 0.146 261.4);
Tailwind
colors: {
  custom: {
    50: '#7585c5',
    500: '#2856ab',
    950: '#000000',
  },
}
SCSS
$custom: #2856ab;
$custom-light: #7585c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2856ab",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 218.931,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46992,
    "c": 0.14562,
    "h": 261.4
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#2856AB
secondary
#C4A56A
accent
#AC43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2856AB

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

Preview Lab → · Contrast checker → · Palette generator →

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