#2855BC#2855BC

#2855BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.170 H 263.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2855BC
RGBrgb(40, 85, 188)
HSLhsl(222, 65%, 45%)
HSVhsv(222, 79%, 74%)
CMYKcmyk(78.7%, 54.8%, 0%, 26.3%)
CIE-LABlab(38.86, 22.45, -58.59)
CIE-LCHlch(38.86, 62.74, 290.97°)
OKLaboklab(48.09% -0.0192 -0.169)
OKLCHoklch(48.09% 0.17 263.5)
XYZxyz(13.1974, 10.5774, 48.9133)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855BC #BC8F28
analogous
#289FBC #2855BC #4528BC
triadic
#2855BC #BC2855 #55BC28
tetradic
#2855BC #BC289F #BC8F28 #28BC45
square
#2855BC #BC289F #BC8F28 #28BC45
split-complementary
#2855BC #BC4528 #9FBC28
monochromatic
#132757 #1D3E8A #2855BC #4975D8 #7B9BE3

Accessibility & contrast

On white

6.74
#2855BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2855BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2855BC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855BC#FFFFFF#000000##FFFFFF
##2855BC1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2855bc;
/* rgb */ color: rgb(40, 85, 188);
/* oklch */ color: oklch(48.1% 0.170 263.5);
Tailwind
colors: {
  custom: {
    50: '#7984d1',
    500: '#2855bc',
    950: '#000000',
  },
}
SCSS
$custom: #2855bc;
$custom-light: #7984d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2855bc",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 221.757,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48089,
    "c": 0.17009,
    "h": 263.5
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#2855BC
secondary
#CBB175
accent
#B540E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2855BC

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

Preview Lab → · Contrast checker → · Palette generator →

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