#2855A9#2855A9

#2855A9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.144 H 261.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2855A9
RGBrgb(40, 85, 169)
HSLhsl(219, 62%, 41%)
HSVhsv(219, 76%, 66%)
CMYKcmyk(76.3%, 49.7%, 0%, 33.7%)
CIE-LABlab(37.50, 15.12, -49.58)
CIE-LCHlch(37.50, 51.84, 286.96°)
OKLaboklab(46.63% -0.0213 -0.1425)
OKLCHoklch(46.63% 0.144 261.5)
XYZxyz(11.2824, 9.8114, 38.8276)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855A9 #A97C28
analogous
#2895A9 #2855A9 #3C28A9
triadic
#2855A9 #A92855 #55A928
tetradic
#2855A9 #A92895 #A97C28 #28A93C
square
#2855A9 #A92895 #A97C28 #28A93C
split-complementary
#2855A9 #A93C28 #95A928
monochromatic
#112346 #1C3C78 #2855A9 #3D71D1 #6F95DD

Accessibility & contrast

On white

7.09
#2855A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2855A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2855A9
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855A9#FFFFFF#000000##FFFFFF
##2855A91.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2855a9;
/* rgb */ color: rgb(40, 85, 169);
/* oklch */ color: oklch(46.6% 0.144 261.5);
Tailwind
colors: {
  custom: {
    50: '#7584c3',
    500: '#2855a9',
    950: '#000000',
  },
}
SCSS
$custom: #2855a9;
$custom-light: #7584c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2855a9",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 169
  },
  "hsl": {
    "h": 219.07,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.14409,
    "h": 261.5
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#2855A9
secondary
#C4A469
accent
#AC43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2855A9

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

Preview Lab → · Contrast checker → · Palette generator →

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