#2155C2#2155C2

#2155C2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.180 H 262.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2155C2
RGBrgb(33, 85, 194)
HSLhsl(221, 71%, 45%)
HSVhsv(221, 83%, 76%)
CMYKcmyk(83%, 56.2%, 0%, 23.9%)
CIE-LABlab(39.09, 24.11, -61.72)
CIE-LCHlch(39.09, 66.26, 291.34°)
OKLaboklab(48.35% -0.0233 -0.1783)
OKLCHoklch(48.35% 0.18 262.6)
XYZxyz(13.6098, 10.7137, 52.3791)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155C2 #C28E21
analogous
#21A6C2 #2155C2 #3E21C2
triadic
#2155C2 #C22155 #55C221
tetradic
#2155C2 #C221A6 #C28E21 #21C23E
square
#2155C2 #C221A6 #C28E21 #21C23E
split-complementary
#2155C2 #C23E21 #A6C221
monochromatic
#0F2759 #183E8E #2155C2 #4174DF #769BE8

Accessibility & contrast

On white

6.68
#2155C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2155C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2155C2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155C2#FFFFFF#000000##FFFFFF
##2155C21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2155c2;
/* rgb */ color: rgb(33, 85, 194);
/* oklch */ color: oklch(48.3% 0.180 262.6);
Tailwind
colors: {
  custom: {
    50: '#7984d5',
    500: '#2155c2',
    950: '#000000',
  },
}
SCSS
$custom: #2155c2;
$custom-light: #7984d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2155c2",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 220.621,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.17982,
    "h": 262.6
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#2155C2
secondary
#CFB070
accent
#B43AEE
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2155C2

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

Preview Lab → · Contrast checker → · Palette generator →

#2155C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva