#2855E2#2855E2

#2855E2 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.3% C 0.219 H 265.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2855E2
RGBrgb(40, 85, 226)
HSLhsl(225, 76%, 52%)
HSVhsv(225, 82%, 89%)
CMYKcmyk(82.3%, 62.4%, 0%, 11.4%)
CIE-LABlab(41.90, 36.73, -75.53)
CIE-LCHlch(41.90, 83.99, 295.94°)
OKLaboklab(51.31% -0.0179 -0.2187)
OKLCHoklch(51.31% 0.219 265.3)
XYZxyz(17.8462, 12.4369, 73.3967)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855E2 #E2B528
analogous
#28B2E2 #2855E2 #5828E2
triadic
#2855E2 #E22855 #55E228
tetradic
#2855E2 #E228B2 #E2B528 #28E258
square
#2855E2 #E228B2 #E2B528 #28E258
split-complementary
#2855E2 #E25828 #B2E228
monochromatic
#112C7F #183EB4 #2855E2 #5E80E9 #94AAF1

Accessibility & contrast

On white

6.02
#2855E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2855E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2855E2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855E2#FFFFFF#000000##FFFFFF
##2855E21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2855e2;
/* rgb */ color: rgb(40, 85, 226);
/* oklch */ color: oklch(51.3% 0.219 265.3);
Tailwind
colors: {
  custom: {
    50: '#8284ec',
    500: '#2855e2',
    950: '#000000',
  },
}
SCSS
$custom: #2855e2;
$custom-light: #8284ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2855e2",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 225.484,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.21943,
    "h": 265.3
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#2855E2
secondary
#DCC88A
accent
#C535F3
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #2855E2

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

Preview Lab → · Contrast checker → · Palette generator →

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