#2855A8#2855A8

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

Color values

HEX#2855A8
RGBrgb(40, 85, 168)
HSLhsl(219, 62%, 41%)
HSVhsv(219, 76%, 66%)
CMYKcmyk(76.2%, 49.4%, 0%, 34.1%)
CIE-LABlab(37.43, 14.73, -49.10)
CIE-LCHlch(37.43, 51.26, 286.70°)
OKLaboklab(46.55% -0.0215 -0.1411)
OKLCHoklch(46.55% 0.143 261.3)
XYZxyz(11.1889, 9.7740, 38.3351)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855A8 #A87B28
analogous
#2895A8 #2855A8 #3B28A8
triadic
#2855A8 #A82855 #55A828
tetradic
#2855A8 #A82895 #A87B28 #28A83B
square
#2855A8 #A82895 #A87B28 #28A83B
split-complementary
#2855A8 #A83B28 #95A828
monochromatic
#102345 #1C3C77 #2855A8 #3D71D1 #6E95DC

Accessibility & contrast

On white

7.11
#2855A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2855A8#FFFFFF#000000##FFFFFF
##2855A81.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2855a8;
/* rgb */ color: rgb(40, 85, 168);
/* oklch */ color: oklch(46.6% 0.143 261.3);
Tailwind
colors: {
  custom: {
    50: '#7584c2',
    500: '#2855a8',
    950: '#000000',
  },
}
SCSS
$custom: #2855a8;
$custom-light: #7584c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2855a8",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 168
  },
  "hsl": {
    "h": 218.906,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46551,
    "c": 0.14269,
    "h": 261.3
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#2855A8
secondary
#C3A369
accent
#AC43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2855A8

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

Preview Lab → · Contrast checker → · Palette generator →

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