#2855B9#2855B9

#2855B9 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.166 H 263.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2855B9
RGBrgb(40, 85, 185)
HSLhsl(221, 64%, 44%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(78.4%, 54.1%, 0%, 27.5%)
CIE-LABlab(38.64, 21.30, -57.19)
CIE-LCHlch(38.64, 61.03, 290.42°)
OKLaboklab(47.85% -0.0195 -0.1649)
OKLCHoklch(47.85% 0.166 263.3)
XYZxyz(12.8774, 10.4494, 47.2278)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855B9 #B98C28
analogous
#289EB9 #2855B9 #4428B9
triadic
#2855B9 #B92855 #55B928
tetradic
#2855B9 #B9289E #B98C28 #28B944
square
#2855B9 #B9289E #B98C28 #28B944
split-complementary
#2855B9 #B94428 #9EB928
monochromatic
#122754 #1D3E87 #2855B9 #4774D7 #799AE2

Accessibility & contrast

On white

6.80
#2855B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2855B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2855B9
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855B9#FFFFFF#000000##FFFFFF
##2855B91.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2855b9;
/* rgb */ color: rgb(40, 85, 185);
/* oklch */ color: oklch(47.9% 0.166 263.3);
Tailwind
colors: {
  custom: {
    50: '#7884cf',
    500: '#2855b9',
    950: '#000000',
  },
}
SCSS
$custom: #2855b9;
$custom-light: #7884cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2855b9",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 185
  },
  "hsl": {
    "h": 221.379,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.16604,
    "h": 263.3
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#2855B9
secondary
#CAAF73
accent
#B440E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2855B9

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

Preview Lab → · Contrast checker → · Palette generator →

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