#2856AF#2856AF

#2856AF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.151 H 261.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2856AF
RGBrgb(40, 86, 175)
HSLhsl(220, 63%, 42%)
HSVhsv(220, 77%, 69%)
CMYKcmyk(77.1%, 50.9%, 0%, 31.4%)
CIE-LABlab(38.20, 16.78, -52.01)
CIE-LCHlch(38.20, 54.65, 287.88°)
OKLaboklab(47.29% -0.0213 -0.1496)
OKLCHoklch(47.29% 0.151 261.9)
XYZxyz(11.9379, 10.2005, 41.8888)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856AF #AF8128
analogous
#2899AF #2856AF #3E28AF
triadic
#2856AF #AF2856 #56AF28
tetradic
#2856AF #AF2899 #AF8128 #28AF3E
square
#2856AF #AF2899 #AF8128 #28AF3E
split-complementary
#2856AF #AF3E28 #99AF28
monochromatic
#11254B #1D3E7D #2856AF #4173D4 #7397DF

Accessibility & contrast

On white

6.91
#2856AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2856AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856AF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856AF#FFFFFF#000000##FFFFFF
##2856AF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2856af;
/* rgb */ color: rgb(40, 86, 175);
/* oklch */ color: oklch(47.3% 0.151 261.9);
Tailwind
colors: {
  custom: {
    50: '#7685c7',
    500: '#2856af',
    950: '#000000',
  },
}
SCSS
$custom: #2856af;
$custom-light: #7685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2856af",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 219.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.15114,
    "h": 261.9
  },
  "luminance": 0.10202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2856AF

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

Preview Lab → · Contrast checker → · Palette generator →

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