#2855AC#2855AC

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

Color values

HEX#2855AC
RGBrgb(40, 85, 172)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 77%, 67%)
CMYKcmyk(76.7%, 50.6%, 0%, 32.5%)
CIE-LABlab(37.71, 16.28, -51.03)
CIE-LCHlch(37.71, 53.56, 287.69°)
OKLaboklab(46.85% -0.0209 -0.1468)
OKLCHoklch(46.85% 0.148 261.9)
XYZxyz(11.5673, 9.9254, 40.3279)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855AC #AC7F28
analogous
#2897AC #2855AC #3D28AC
triadic
#2855AC #AC2855 #55AC28
tetradic
#2855AC #AC2897 #AC7F28 #28AC3D
square
#2855AC #AC2897 #AC7F28 #28AC3D
split-complementary
#2855AC #AC3D28 #97AC28
monochromatic
#112449 #1C3C7A #2855AC #3F71D2 #7196DE

Accessibility & contrast

On white

7.03
#2855AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2855AC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855AC#FFFFFF#000000##FFFFFF
##2855AC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2855ac;
/* rgb */ color: rgb(40, 85, 172);
/* oklch */ color: oklch(46.8% 0.148 261.9);
Tailwind
colors: {
  custom: {
    50: '#7584c5',
    500: '#2855ac',
    950: '#000000',
  },
}
SCSS
$custom: #2855ac;
$custom-light: #7584c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2855ac",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 219.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.14824,
    "h": 261.9
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#2855AC
secondary
#C5A66B
accent
#AE42E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2855AC

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

Preview Lab → · Contrast checker → · Palette generator →

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