#2856A6#2856A6

#2856A6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.139 H 260.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2856A6
RGBrgb(40, 86, 166)
HSLhsl(218, 61%, 40%)
HSVhsv(218, 76%, 65%)
CMYKcmyk(75.9%, 48.2%, 0%, 34.9%)
CIE-LABlab(37.59, 13.30, -47.66)
CIE-LCHlch(37.59, 49.48, 285.59°)
OKLaboklab(46.63% -0.0226 -0.1368)
OKLCHoklch(46.63% 0.139 260.6)
XYZxyz(11.0833, 9.8586, 37.3878)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856A6 #A67828
analogous
#2895A6 #2856A6 #3928A6
triadic
#2856A6 #A62856 #56A628
tetradic
#2856A6 #A62895 #A67828 #28A639
square
#2856A6 #A62895 #A67828 #28A639
split-complementary
#2856A6 #A63928 #95A628
monochromatic
#102343 #1C3C75 #2856A6 #3B72D0 #6D95DC

Accessibility & contrast

On white

7.07
#2856A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2856A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2856A6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856A6#FFFFFF#000000##FFFFFF
##2856A61.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FA9
Deuteranopia (green-blind)
#0353A4
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2856a6;
/* rgb */ color: rgb(40, 86, 166);
/* oklch */ color: oklch(46.6% 0.139 260.6);
Tailwind
colors: {
  custom: {
    50: '#7485c1',
    500: '#2856a6',
    950: '#000000',
  },
}
SCSS
$custom: #2856a6;
$custom-light: #7485c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2856a6",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 166
  },
  "hsl": {
    "h": 218.095,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46626,
    "c": 0.13868,
    "h": 260.6
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#2856A6
secondary
#C2A167
accent
#AA44E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2856A6

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

Preview Lab → · Contrast checker → · Palette generator →

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