#2155B4#2155B4

#2155B4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.161 H 261.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2155B4
RGBrgb(33, 85, 180)
HSLhsl(219, 69%, 42%)
HSVhsv(219, 82%, 71%)
CMYKcmyk(81.7%, 52.8%, 0%, 29.4%)
CIE-LABlab(38.05, 18.64, -55.22)
CIE-LCHlch(38.05, 58.28, 288.66°)
OKLaboklab(47.22% -0.0246 -0.1592)
OKLCHoklch(47.22% 0.161 261.2)
XYZxyz(12.1109, 10.1142, 44.4851)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155B4 #B48021
analogous
#219EB4 #2155B4 #3721B4
triadic
#2155B4 #B42155 #55B421
tetradic
#2155B4 #B4219E #B48021 #21B437
square
#2155B4 #B4219E #B48021 #21B437
split-complementary
#2155B4 #B43721 #9EB421
monochromatic
#0E244D #183D80 #2155B4 #3871DA #6B96E4

Accessibility & contrast

On white

6.95
#2155B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2155B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2155B4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155B4#FFFFFF#000000##FFFFFF
##2155B41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2155b4;
/* rgb */ color: rgb(33, 85, 180);
/* oklch */ color: oklch(47.2% 0.161 261.2);
Tailwind
colors: {
  custom: {
    50: '#7584cb',
    500: '#2155b4',
    950: '#000000',
  },
}
SCSS
$custom: #2155b4;
$custom-light: #7584cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2155b4",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 180
  },
  "hsl": {
    "h": 218.776,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.16108,
    "h": 261.2
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#2155B4
secondary
#CAA767
accent
#AE3CEC
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2155B4

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

Preview Lab → · Contrast checker → · Palette generator →

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