#2856AE#2856AE

#2856AE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.150 H 261.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2856AE
RGBrgb(40, 86, 174)
HSLhsl(219, 63%, 42%)
HSVhsv(219, 77%, 68%)
CMYKcmyk(77%, 50.6%, 0%, 31.8%)
CIE-LABlab(38.13, 16.39, -51.53)
CIE-LCHlch(38.13, 54.08, 287.65°)
OKLaboklab(47.22% -0.0215 -0.1482)
OKLCHoklch(47.22% 0.15 261.8)
XYZxyz(11.8401, 10.1613, 41.3735)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856AE #AE8028
analogous
#2899AE #2856AE #3D28AE
triadic
#2856AE #AE2856 #56AE28
tetradic
#2856AE #AE2899 #AE8028 #28AE3D
square
#2856AE #AE2899 #AE8028 #28AE3D
split-complementary
#2856AE #AE3D28 #99AE28
monochromatic
#11254A #1D3D7C #2856AE #4073D3 #7297DF

Accessibility & contrast

On white

6.92
#2856AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2856AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856AE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856AE#FFFFFF#000000##FFFFFF
##2856AE1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2856ae;
/* rgb */ color: rgb(40, 86, 174);
/* oklch */ color: oklch(47.2% 0.150 261.8);
Tailwind
colors: {
  custom: {
    50: '#7685c7',
    500: '#2856ae',
    950: '#000000',
  },
}
SCSS
$custom: #2856ae;
$custom-light: #7685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2856ae",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 219.403,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47216,
    "c": 0.14977,
    "h": 261.8
  },
  "luminance": 0.10163
}

Semantic roles & 50–950 ramp

primary
#2856AE
secondary
#C6A76C
accent
#AE42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2856AE

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

Preview Lab → · Contrast checker → · Palette generator →

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