#2855A7#2855A7

#2855A7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.141 H 261.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2855A7
RGBrgb(40, 85, 167)
HSLhsl(219, 61%, 41%)
HSVhsv(219, 76%, 65%)
CMYKcmyk(76%, 49.1%, 0%, 34.5%)
CIE-LABlab(37.37, 14.34, -48.61)
CIE-LCHlch(37.37, 50.68, 286.44°)
OKLaboklab(46.48% -0.0216 -0.1396)
OKLCHoklch(46.48% 0.141 261.2)
XYZxyz(11.0961, 9.7369, 37.8463)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855A7 #A77A28
analogous
#2894A7 #2855A7 #3A28A7
triadic
#2855A7 #A72855 #55A728
tetradic
#2855A7 #A72894 #A77A28 #28A73A
square
#2855A7 #A72894 #A77A28 #28A73A
split-complementary
#2855A7 #A73A28 #94A728
monochromatic
#102344 #1C3C76 #2855A7 #3C70D0 #6D95DC

Accessibility & contrast

On white

7.12
#2855A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2855A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2855A7#FFFFFF#000000##FFFFFF
##2855A71.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EAA
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2855a7;
/* rgb */ color: rgb(40, 85, 167);
/* oklch */ color: oklch(46.5% 0.141 261.2);
Tailwind
colors: {
  custom: {
    50: '#7484c2',
    500: '#2855a7',
    950: '#000000',
  },
}
SCSS
$custom: #2855a7;
$custom-light: #7484c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2855a7",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 167
  },
  "hsl": {
    "h": 218.74,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.1413,
    "h": 261.2
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#2855A7
secondary
#C3A368
accent
#AB43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2855A7

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

Preview Lab → · Contrast checker → · Palette generator →

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