#2855BB#2855BB

#2855BB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.169 H 263.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2855BB
RGBrgb(40, 85, 187)
HSLhsl(222, 65%, 45%)
HSVhsv(222, 79%, 73%)
CMYKcmyk(78.6%, 54.5%, 0%, 26.7%)
CIE-LABlab(38.78, 22.07, -58.12)
CIE-LCHlch(38.78, 62.17, 290.79°)
OKLaboklab(48.01% -0.0193 -0.1676)
OKLCHoklch(48.01% 0.169 263.4)
XYZxyz(13.0900, 10.5344, 48.3475)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855BB #BB8E28
analogous
#289FBB #2855BB #4528BB
triadic
#2855BB #BB2855 #55BB28
tetradic
#2855BB #BB289F #BB8E28 #28BB45
square
#2855BB #BB289F #BB8E28 #28BB45
split-complementary
#2855BB #BB4528 #9FBB28
monochromatic
#122756 #1D3E89 #2855BB #4874D8 #7B9BE3

Accessibility & contrast

On white

6.76
#2855BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2855BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2855BB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855BB#FFFFFF#000000##FFFFFF
##2855BB1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2855bb;
/* rgb */ color: rgb(40, 85, 187);
/* oklch */ color: oklch(48.0% 0.169 263.4);
Tailwind
colors: {
  custom: {
    50: '#7984d0',
    500: '#2855bb',
    950: '#000000',
  },
}
SCSS
$custom: #2855bb;
$custom-light: #7984d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2855bb",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 221.633,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.16874,
    "h": 263.4
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#2855BB
secondary
#CBB074
accent
#B440E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2855BB

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

Preview Lab → · Contrast checker → · Palette generator →

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