#2855B3#2855B3

#2855B3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.158 H 262.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2855B3
RGBrgb(40, 85, 179)
HSLhsl(221, 63%, 43%)
HSVhsv(221, 78%, 70%)
CMYKcmyk(77.7%, 52.5%, 0%, 29.8%)
CIE-LABlab(38.20, 18.99, -54.37)
CIE-LCHlch(38.20, 57.59, 289.25°)
OKLaboklab(47.38% -0.0201 -0.1566)
OKLCHoklch(47.38% 0.158 262.7)
XYZxyz(12.2573, 10.2014, 43.9621)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2855B3 #B38628
analogous
#289AB3 #2855B3 #4128B3
triadic
#2855B3 #B32855 #55B328
tetradic
#2855B3 #B3289A #B38628 #28B341
square
#2855B3 #B3289A #B38628 #28B341
split-complementary
#2855B3 #B34128 #9AB328
monochromatic
#12254F #1D3D81 #2855B3 #4372D5 #7598E0

Accessibility & contrast

On white

6.91
#2855B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2855B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2855B3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2855B3#FFFFFF#000000##FFFFFF
##2855B31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2855b3;
/* rgb */ color: rgb(40, 85, 179);
/* oklch */ color: oklch(47.4% 0.158 262.7);
Tailwind
colors: {
  custom: {
    50: '#7784ca',
    500: '#2855b3',
    950: '#000000',
  },
}
SCSS
$custom: #2855b3;
$custom-light: #7784ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2855b3",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 220.576,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47382,
    "c": 0.15787,
    "h": 262.7
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2855B3

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

Preview Lab → · Contrast checker → · Palette generator →

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