#2856A9#2856A9

#2856A9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.143 H 261.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2856A9
RGBrgb(40, 86, 169)
HSLhsl(219, 62%, 41%)
HSVhsv(219, 76%, 66%)
CMYKcmyk(76.3%, 49.1%, 0%, 33.7%)
CIE-LABlab(37.79, 14.46, -49.12)
CIE-LCHlch(37.79, 51.20, 286.40°)
OKLaboklab(46.85% -0.0222 -0.1411)
OKLCHoklch(46.85% 0.143 261.1)
XYZxyz(11.3617, 9.9700, 38.8540)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856A9 #A97B28
analogous
#2896A9 #2856A9 #3B28A9
triadic
#2856A9 #A92856 #56A928
tetradic
#2856A9 #A92896 #A97B28 #28A93B
square
#2856A9 #A92896 #A97B28 #28A93B
split-complementary
#2856A9 #A93B28 #96A928
monochromatic
#112446 #1C3D78 #2856A9 #3D72D1 #6F96DD

Accessibility & contrast

On white

7.01
#2856A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2856A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2856A9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856A9#FFFFFF#000000##FFFFFF
##2856A91.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2856a9;
/* rgb */ color: rgb(40, 86, 169);
/* oklch */ color: oklch(46.8% 0.143 261.1);
Tailwind
colors: {
  custom: {
    50: '#7585c3',
    500: '#2856a9',
    950: '#000000',
  },
}
SCSS
$custom: #2856a9;
$custom-light: #7585c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2856a9",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 169
  },
  "hsl": {
    "h": 218.605,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.14285,
    "h": 261.1
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#2856A9
secondary
#C4A369
accent
#AB43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2856A9

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

Preview Lab → · Contrast checker → · Palette generator →

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