#2855AE#2855AE

#2855AE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.151 H 262.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2855AE
RGBrgb(40, 85, 174)
HSLhsl(220, 63%, 42%)
HSVhsv(220, 77%, 68%)
CMYKcmyk(77%, 51.1%, 0%, 31.8%)
CIE-LABlab(37.85, 17.05, -51.99)
CIE-LCHlch(37.85, 54.72, 288.16°)
OKLaboklab(47% -0.0207 -0.1496)
OKLCHoklch(47% 0.151 262.1)
XYZxyz(11.7608, 10.0028, 41.3471)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855AE #AE8128
analogous
#2898AE #2855AE #3E28AE
triadic
#2855AE #AE2855 #55AE28
tetradic
#2855AE #AE2898 #AE8128 #28AE3E
square
#2855AE #AE2898 #AE8128 #28AE3E
split-complementary
#2855AE #AE3E28 #98AE28
monochromatic
#11244A #1D3D7C #2855AE #4071D3 #7296DF

Accessibility & contrast

On white

7.00
#2855AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2855AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2855AE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855AE#FFFFFF#000000##FFFFFF
##2855AE1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2855ae;
/* rgb */ color: rgb(40, 85, 174);
/* oklch */ color: oklch(47.0% 0.151 262.1);
Tailwind
colors: {
  custom: {
    50: '#7684c7',
    500: '#2855ae',
    950: '#000000',
  },
}
SCSS
$custom: #2855ae;
$custom-light: #7684c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2855ae",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 219.851,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.151,
    "h": 262.1
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

primary
#2855AE
secondary
#C6A86C
accent
#AF42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2855AE

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

Preview Lab → · Contrast checker → · Palette generator →

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