#2856B9#2856B9

#2856B9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.165 H 263.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2856B9
RGBrgb(40, 86, 185)
HSLhsl(221, 64%, 44%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(78.4%, 53.5%, 0%, 27.5%)
CIE-LABlab(38.91, 20.64, -56.75)
CIE-LCHlch(38.91, 60.38, 289.99°)
OKLaboklab(48.06% -0.0202 -0.1636)
OKLCHoklch(48.06% 0.165 263)
XYZxyz(12.9567, 10.6080, 47.2542)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856B9 #B98B28
analogous
#289EB9 #2856B9 #4328B9
triadic
#2856B9 #B92856 #56B928
tetradic
#2856B9 #B9289E #B98B28 #28B943
square
#2856B9 #B9289E #B98B28 #28B943
split-complementary
#2856B9 #B94328 #9EB928
monochromatic
#122754 #1D3F87 #2856B9 #4775D7 #799BE2

Accessibility & contrast

On white

6.73
#2856B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2856B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856B9
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856B9#FFFFFF#000000##FFFFFF
##2856B91.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0663BC
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2856b9;
/* rgb */ color: rgb(40, 86, 185);
/* oklch */ color: oklch(48.1% 0.165 263.0);
Tailwind
colors: {
  custom: {
    50: '#7885cf',
    500: '#2856b9',
    950: '#000000',
  },
}
SCSS
$custom: #2856b9;
$custom-light: #7885cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2856b9",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 185
  },
  "hsl": {
    "h": 220.966,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.1648,
    "h": 263
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#2856B9
secondary
#CAAE73
accent
#B240E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2856B9

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

Preview Lab → · Contrast checker → · Palette generator →

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