#2856A4#2856A4

#2856A4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.136 H 260.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2856A4
RGBrgb(40, 86, 164)
HSLhsl(218, 61%, 40%)
HSVhsv(218, 76%, 64%)
CMYKcmyk(75.6%, 47.6%, 0%, 35.7%)
CIE-LABlab(37.46, 12.52, -46.68)
CIE-LCHlch(37.46, 48.33, 285.01°)
OKLaboklab(46.48% -0.023 -0.1339)
OKLCHoklch(46.48% 0.136 260.3)
XYZxyz(10.9013, 9.7858, 36.4291)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856A4 #A47628
analogous
#2894A4 #2856A4 #3828A4
triadic
#2856A4 #A42856 #56A428
tetradic
#2856A4 #A42894 #A47628 #28A438
square
#2856A4 #A42894 #A47628 #28A438
split-complementary
#2856A4 #A43828 #94A428
monochromatic
#102242 #1C3C73 #2856A4 #3A71CF #6B95DB

Accessibility & contrast

On white

7.10
#2856A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2856A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2856A4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856A4#FFFFFF#000000##FFFFFF
##2856A41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#0B53A2
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2856a4;
/* rgb */ color: rgb(40, 86, 164);
/* oklch */ color: oklch(46.5% 0.136 260.3);
Tailwind
colors: {
  custom: {
    50: '#7485bf',
    500: '#2856a4',
    950: '#000000',
  },
}
SCSS
$custom: #2856a4;
$custom-light: #7485bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2856a4",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 164
  },
  "hsl": {
    "h": 217.742,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.13589,
    "h": 260.3
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#2856A4
secondary
#C1A066
accent
#A944E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2856A4

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

Preview Lab → · Contrast checker → · Palette generator →

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