#2856AC#2856AC

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

Color values

HEX#2856AC
RGBrgb(40, 86, 172)
HSLhsl(219, 62%, 42%)
HSVhsv(219, 77%, 67%)
CMYKcmyk(76.7%, 50%, 0%, 32.5%)
CIE-LABlab(37.99, 15.62, -50.57)
CIE-LCHlch(37.99, 52.93, 287.16°)
OKLaboklab(47.07% -0.0217 -0.1454)
OKLCHoklch(47.07% 0.147 261.5)
XYZxyz(11.6466, 10.0839, 40.3543)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856AC #AC7E28
analogous
#2898AC #2856AC #3C28AC
triadic
#2856AC #AC2856 #56AC28
tetradic
#2856AC #AC2898 #AC7E28 #28AC3C
square
#2856AC #AC2898 #AC7E28 #28AC3C
split-complementary
#2856AC #AC3C28 #98AC28
monochromatic
#112449 #1C3D7A #2856AC #3F72D2 #7197DE

Accessibility & contrast

On white

6.96
#2856AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2856AC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856AC#FFFFFF#000000##FFFFFF
##2856AC1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2856ac;
/* rgb */ color: rgb(40, 86, 172);
/* oklch */ color: oklch(47.1% 0.147 261.5);
Tailwind
colors: {
  custom: {
    50: '#7585c5',
    500: '#2856ac',
    950: '#000000',
  },
}
SCSS
$custom: #2856ac;
$custom-light: #7585c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2856ac",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 219.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47066,
    "c": 0.147,
    "h": 261.5
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#2856AC
secondary
#C5A66B
accent
#AD42E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2856AC

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

Preview Lab → · Contrast checker → · Palette generator →

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