#2856A7#2856A7

#2856A7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.140 H 260.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2856A7
RGBrgb(40, 86, 167)
HSLhsl(218, 61%, 41%)
HSVhsv(218, 76%, 65%)
CMYKcmyk(76%, 48.5%, 0%, 34.5%)
CIE-LABlab(37.65, 13.68, -48.15)
CIE-LCHlch(37.65, 50.05, 285.86°)
OKLaboklab(46.7% -0.0225 -0.1383)
OKLCHoklch(46.7% 0.14 260.8)
XYZxyz(11.1754, 9.8955, 37.8728)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856A7 #A77928
analogous
#2895A7 #2856A7 #3A28A7
triadic
#2856A7 #A72856 #56A728
tetradic
#2856A7 #A72895 #A77928 #28A73A
square
#2856A7 #A72895 #A77928 #28A73A
split-complementary
#2856A7 #A73A28 #95A728
monochromatic
#102344 #1C3D76 #2856A7 #3C72D0 #6D95DC

Accessibility & contrast

On white

7.05
#2856A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2856A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2856A7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856A7#FFFFFF#000000##FFFFFF
##2856A71.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAA
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2856a7;
/* rgb */ color: rgb(40, 86, 167);
/* oklch */ color: oklch(46.7% 0.140 260.8);
Tailwind
colors: {
  custom: {
    50: '#7485c2',
    500: '#2856a7',
    950: '#000000',
  },
}
SCSS
$custom: #2856a7;
$custom-light: #7485c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2856a7",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 167
  },
  "hsl": {
    "h": 218.268,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.14006,
    "h": 260.8
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#2856A7
secondary
#C3A268
accent
#AA43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2856A7

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

Preview Lab → · Contrast checker → · Palette generator →

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