#2855AD#2855AD

#2855AD is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.150 H 262.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2855AD
RGBrgb(40, 85, 173)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 77%, 68%)
CMYKcmyk(76.9%, 50.9%, 0%, 32.2%)
CIE-LABlab(37.78, 16.67, -51.51)
CIE-LCHlch(37.78, 54.14, 287.93°)
OKLaboklab(46.92% -0.0208 -0.1482)
OKLCHoklch(46.92% 0.15 262)
XYZxyz(11.6637, 9.9639, 40.8356)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855AD #AD8028
analogous
#2898AD #2855AD #3E28AD
triadic
#2855AD #AD2855 #55AD28
tetradic
#2855AD #AD2898 #AD8028 #28AD3E
square
#2855AD #AD2898 #AD8028 #28AD3E
split-complementary
#2855AD #AD3E28 #98AD28
monochromatic
#11244A #1D3D7B #2855AD #3F71D3 #7196DE

Accessibility & contrast

On white

7.02
#2855AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2855AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2855AD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855AD#FFFFFF#000000##FFFFFF
##2855AD1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FB0
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2855ad;
/* rgb */ color: rgb(40, 85, 173);
/* oklch */ color: oklch(46.9% 0.150 262.0);
Tailwind
colors: {
  custom: {
    50: '#7684c6',
    500: '#2855ad',
    950: '#000000',
  },
}
SCSS
$custom: #2855ad;
$custom-light: #7684c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2855ad",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 173
  },
  "hsl": {
    "h": 219.699,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46924,
    "c": 0.14962,
    "h": 262
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#2855AD
secondary
#C5A76C
accent
#AE42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2855AD

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

Preview Lab → · Contrast checker → · Palette generator →

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