#2855AA#2855AA

#2855AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.145 H 261.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2855AA
RGBrgb(40, 85, 170)
HSLhsl(219, 62%, 41%)
HSVhsv(219, 76%, 67%)
CMYKcmyk(76.5%, 50%, 0%, 33.3%)
CIE-LABlab(37.57, 15.51, -50.07)
CIE-LCHlch(37.57, 52.41, 287.21°)
OKLaboklab(46.7% -0.0212 -0.1439)
OKLCHoklch(46.7% 0.145 261.6)
XYZxyz(11.3767, 9.8491, 39.3239)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855AA #AA7D28
analogous
#2896AA #2855AA #3C28AA
triadic
#2855AA #AA2855 #55AA28
tetradic
#2855AA #AA2896 #AA7D28 #28AA3C
square
#2855AA #AA2896 #AA7D28 #28AA3C
split-complementary
#2855AA #AA3C28 #96AA28
monochromatic
#112347 #1C3C78 #2855AA #3E71D2 #6F95DD

Accessibility & contrast

On white

7.07
#2855AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2855AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2855AA#FFFFFF#000000##FFFFFF
##2855AA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2855aa;
/* rgb */ color: rgb(40, 85, 170);
/* oklch */ color: oklch(46.7% 0.145 261.6);
Tailwind
colors: {
  custom: {
    50: '#7584c4',
    500: '#2855aa',
    950: '#000000',
  },
}
SCSS
$custom: #2855aa;
$custom-light: #7584c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2855aa",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 219.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.14547,
    "h": 261.6
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2855AA

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

Preview Lab → · Contrast checker → · Palette generator →

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