#2856A3#2856A3

#2856A3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.134 H 260.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2856A3
RGBrgb(40, 86, 163)
HSLhsl(218, 61%, 40%)
HSVhsv(218, 75%, 64%)
CMYKcmyk(75.5%, 47.2%, 0%, 36.1%)
CIE-LABlab(37.39, 12.13, -46.19)
CIE-LCHlch(37.39, 47.76, 284.72°)
OKLaboklab(46.41% -0.0231 -0.1325)
OKLCHoklch(46.41% 0.134 260.1)
XYZxyz(10.8113, 9.7498, 35.9553)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856A3 #A37528
analogous
#2894A3 #2856A3 #3828A3
triadic
#2856A3 #A32856 #56A328
tetradic
#2856A3 #A32894 #A37528 #28A338
square
#2856A3 #A32894 #A37528 #28A338
split-complementary
#2856A3 #A33828 #94A328
monochromatic
#102241 #1C3C72 #2856A3 #3A71CF #6B95DB

Accessibility & contrast

On white

7.12
#2856A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2856A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2856A3
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856A3#FFFFFF#000000##FFFFFF
##2856A31.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#0E53A1
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2856a3;
/* rgb */ color: rgb(40, 86, 163);
/* oklch */ color: oklch(46.4% 0.134 260.1);
Tailwind
colors: {
  custom: {
    50: '#7385bf',
    500: '#2856a3',
    950: '#000000',
  },
}
SCSS
$custom: #2856a3;
$custom-light: #7385bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2856a3",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 163
  },
  "hsl": {
    "h": 217.561,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46411,
    "c": 0.13449,
    "h": 260.1
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#2856A3
secondary
#C19F66
accent
#A844E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2856A3

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

Preview Lab → · Contrast checker → · Palette generator →

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