#2855B2#2855B2

#2855B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.157 H 262.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2855B2
RGBrgb(40, 85, 178)
HSLhsl(220, 63%, 43%)
HSVhsv(220, 78%, 70%)
CMYKcmyk(77.5%, 52.2%, 0%, 30.2%)
CIE-LABlab(38.13, 18.60, -53.90)
CIE-LCHlch(38.13, 57.02, 289.04°)
OKLaboklab(47.31% -0.0202 -0.1552)
OKLCHoklch(47.31% 0.157 262.6)
XYZxyz(12.1566, 10.1611, 43.4314)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855B2 #B28528
analogous
#289AB2 #2855B2 #4028B2
triadic
#2855B2 #B22855 #55B228
tetradic
#2855B2 #B2289A #B28528 #28B240
square
#2855B2 #B2289A #B28528 #28B240
split-complementary
#2855B2 #B24028 #9AB228
monochromatic
#12254E #1D3D80 #2855B2 #4372D5 #7598E0

Accessibility & contrast

On white

6.93
#2855B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2855B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2855B2#FFFFFF#000000##FFFFFF
##2855B21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2855b2;
/* rgb */ color: rgb(40, 85, 178);
/* oklch */ color: oklch(47.3% 0.157 262.6);
Tailwind
colors: {
  custom: {
    50: '#7784ca',
    500: '#2855b2',
    950: '#000000',
  },
}
SCSS
$custom: #2855b2;
$custom-light: #7784ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2855b2",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 220.435,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.1565,
    "h": 262.6
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#2855B2
secondary
#C7AA6F
accent
#B141E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2855B2

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

Preview Lab → · Contrast checker → · Palette generator →

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