#2855BE#2855BE

#2855BE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.173 H 263.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2855BE
RGBrgb(40, 85, 190)
HSLhsl(222, 65%, 45%)
HSVhsv(222, 79%, 75%)
CMYKcmyk(78.9%, 55.3%, 0%, 25.5%)
CIE-LABlab(39.01, 23.22, -59.52)
CIE-LCHlch(39.01, 63.88, 291.31°)
OKLaboklab(48.25% -0.0191 -0.1717)
OKLCHoklch(48.25% 0.173 263.7)
XYZxyz(13.4145, 10.6643, 50.0566)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855BE #BE9128
analogous
#28A0BE #2855BE #4628BE
triadic
#2855BE #BE2855 #55BE28
tetradic
#2855BE #BE28A0 #BE9128 #28BE46
square
#2855BE #BE28A0 #BE9128 #28BE46
split-complementary
#2855BE #BE4628 #A0BE28
monochromatic
#132859 #1D3E8B #2855BE #4A75D9 #7D9CE4

Accessibility & contrast

On white

6.70
#2855BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2855BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2855BE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855BE#FFFFFF#000000##FFFFFF
##2855BE1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2855be;
/* rgb */ color: rgb(40, 85, 190);
/* oklch */ color: oklch(48.2% 0.173 263.7);
Tailwind
colors: {
  custom: {
    50: '#7a84d2',
    500: '#2855be',
    950: '#000000',
  },
}
SCSS
$custom: #2855be;
$custom-light: #7a84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2855be",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 222,
    "s": 65.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48249,
    "c": 0.17277,
    "h": 263.7
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#2855BE
secondary
#CCB276
accent
#B640E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2855BE

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

Preview Lab → · Contrast checker → · Palette generator →

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