#2855B0#2855B0

#2855B0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.154 H 262.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2855B0
RGBrgb(40, 85, 176)
HSLhsl(220, 63%, 42%)
HSVhsv(220, 77%, 69%)
CMYKcmyk(77.3%, 51.7%, 0%, 31%)
CIE-LABlab(37.99, 17.83, -52.95)
CIE-LCHlch(37.99, 55.87, 288.61°)
OKLaboklab(47.15% -0.0204 -0.1524)
OKLCHoklch(47.15% 0.154 262.4)
XYZxyz(11.9572, 10.0813, 42.3816)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855B0 #B08328
analogous
#2899B0 #2855B0 #3F28B0
triadic
#2855B0 #B02855 #55B028
tetradic
#2855B0 #B02899 #B08328 #28B03F
square
#2855B0 #B02899 #B08328 #28B03F
split-complementary
#2855B0 #B03F28 #99B028
monochromatic
#11254C #1D3D7E #2855B0 #4172D4 #7397DF

Accessibility & contrast

On white

6.96
#2855B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2855B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2855B0#FFFFFF#000000##FFFFFF
##2855B01.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1960B3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2855b0;
/* rgb */ color: rgb(40, 85, 176);
/* oklch */ color: oklch(47.2% 0.154 262.4);
Tailwind
colors: {
  custom: {
    50: '#7684c8',
    500: '#2855b0',
    950: '#000000',
  },
}
SCSS
$custom: #2855b0;
$custom-light: #7684c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2855b0",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 176
  },
  "hsl": {
    "h": 220.147,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.15375,
    "h": 262.4
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#2855B0
secondary
#C6A96D
accent
#B042E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2855B0

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

Preview Lab → · Contrast checker → · Palette generator →

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