#2856A0#2856A0

#2856A0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.130 H 259.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2856A0
RGBrgb(40, 86, 160)
HSLhsl(217, 60%, 39%)
HSVhsv(217, 75%, 63%)
CMYKcmyk(75%, 46.3%, 0%, 37.3%)
CIE-LABlab(37.20, 10.97, -44.71)
CIE-LCHlch(37.20, 46.03, 283.79°)
OKLaboklab(46.2% -0.0236 -0.1281)
OKLCHoklch(46.2% 0.13 259.5)
XYZxyz(10.5457, 9.6436, 34.5565)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856A0 #A07228
analogous
#2892A0 #2856A0 #3628A0
triadic
#2856A0 #A02856 #56A028
tetradic
#2856A0 #A02892 #A07228 #28A036
square
#2856A0 #A02892 #A07228 #28A036
split-complementary
#2856A0 #A03628 #92A028
monochromatic
#10213E #1C3C6F #2856A0 #3871CD #6994D9

Accessibility & contrast

On white

7.17
#2856A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2856A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2856A0
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856A0#FFFFFF#000000##FFFFFF
##2856A01.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA3
Deuteranopia (green-blind)
#15529F
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2856a0;
/* rgb */ color: rgb(40, 86, 160);
/* oklch */ color: oklch(46.2% 0.130 259.5);
Tailwind
colors: {
  custom: {
    50: '#7385bc',
    500: '#2856a0',
    950: '#000000',
  },
}
SCSS
$custom: #2856a0;
$custom-light: #7385bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2856a0",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 160
  },
  "hsl": {
    "h": 217,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.13029,
    "h": 259.5
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#2856A0
secondary
#C09D64
accent
#A645E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2856A0

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

Preview Lab → · Contrast checker → · Palette generator →

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