#2855C0#2855C0

#2855C0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.175 H 263.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2855C0
RGBrgb(40, 85, 192)
HSLhsl(222, 66%, 45%)
HSVhsv(222, 79%, 75%)
CMYKcmyk(79.2%, 55.7%, 0%, 24.7%)
CIE-LABlab(39.16, 23.98, -60.44)
CIE-LCHlch(39.16, 65.02, 291.64°)
OKLaboklab(48.41% -0.0189 -0.1744)
OKLCHoklch(48.41% 0.175 263.8)
XYZxyz(13.6346, 10.7523, 51.2158)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855C0 #C09328
analogous
#28A1C0 #2855C0 #4728C0
triadic
#2855C0 #C02855 #55C028
tetradic
#2855C0 #C028A1 #C09328 #28C047
square
#2855C0 #C028A1 #C09328 #28C047
split-complementary
#2855C0 #C04728 #A1C028
monochromatic
#13285B #1D3F8D #2855C0 #4C76DA #7E9CE4

Accessibility & contrast

On white

6.66
#2855C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2855C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2855C0#FFFFFF#000000##FFFFFF
##2855C01.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2855c0;
/* rgb */ color: rgb(40, 85, 192);
/* oklch */ color: oklch(48.4% 0.175 263.8);
Tailwind
colors: {
  custom: {
    50: '#7a84d4',
    500: '#2855c0',
    950: '#000000',
  },
}
SCSS
$custom: #2855c0;
$custom-light: #7a84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2855c0",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 192
  },
  "hsl": {
    "h": 222.237,
    "s": 65.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.17545,
    "h": 263.8
  },
  "luminance": 0.10754
}

Semantic roles & 50–950 ramp

primary
#2855C0
secondary
#CDB377
accent
#B63FE8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2855C0

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

Preview Lab → · Contrast checker → · Palette generator →

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