#2855AB#2855AB

#2855AB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.147 H 261.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2855AB
RGBrgb(40, 85, 171)
HSLhsl(219, 62%, 41%)
HSVhsv(219, 77%, 67%)
CMYKcmyk(76.6%, 50.3%, 0%, 32.9%)
CIE-LABlab(37.64, 15.89, -50.55)
CIE-LCHlch(37.64, 52.99, 287.45°)
OKLaboklab(46.77% -0.021 -0.1453)
OKLCHoklch(46.77% 0.147 261.8)
XYZxyz(11.4716, 9.8871, 39.8240)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855AB #AB7E28
analogous
#2897AB #2855AB #3D28AB
triadic
#2855AB #AB2855 #55AB28
tetradic
#2855AB #AB2897 #AB7E28 #28AB3D
square
#2855AB #AB2897 #AB7E28 #28AB3D
split-complementary
#2855AB #AB3D28 #97AB28
monochromatic
#112448 #1C3C79 #2855AB #3E71D2 #7096DE

Accessibility & contrast

On white

7.05
#2855AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2855AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2855AB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855AB#FFFFFF#000000##FFFFFF
##2855AB1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2855ab;
/* rgb */ color: rgb(40, 85, 171);
/* oklch */ color: oklch(46.8% 0.147 261.8);
Tailwind
colors: {
  custom: {
    50: '#7584c5',
    500: '#2855ab',
    950: '#000000',
  },
}
SCSS
$custom: #2855ab;
$custom-light: #7584c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2855ab",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 219.389,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.14686,
    "h": 261.8
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#2855AB
secondary
#C4A56A
accent
#AD43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2855AB

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

Preview Lab → · Contrast checker → · Palette generator →

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