#2155B3#2155B3

#2155B3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.160 H 261.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2155B3
RGBrgb(33, 85, 179)
HSLhsl(219, 69%, 42%)
HSVhsv(219, 82%, 70%)
CMYKcmyk(81.6%, 52.5%, 0%, 29.8%)
CIE-LABlab(37.97, 18.25, -54.75)
CIE-LCHlch(37.97, 57.71, 288.44°)
OKLaboklab(47.15% -0.0247 -0.1578)
OKLCHoklch(47.15% 0.16 261.1)
XYZxyz(12.0094, 10.0736, 43.9505)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155B3 #B37F21
analogous
#219EB3 #2155B3 #3621B3
triadic
#2155B3 #B32155 #55B321
tetradic
#2155B3 #B3219E #B37F21 #21B336
square
#2155B3 #B3219E #B37F21 #21B336
split-complementary
#2155B3 #B33621 #9EB321
monochromatic
#0E244C #173C7F #2155B3 #3771DA #6B96E4

Accessibility & contrast

On white

6.97
#2155B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2155B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2155B3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155B3#FFFFFF#000000##FFFFFF
##2155B31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2155b3;
/* rgb */ color: rgb(33, 85, 179);
/* oklch */ color: oklch(47.1% 0.160 261.1);
Tailwind
colors: {
  custom: {
    50: '#7584ca',
    500: '#2155b3',
    950: '#000000',
  },
}
SCSS
$custom: #2155b3;
$custom-light: #7584ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2155b3",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 218.63,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.15972,
    "h": 261.1
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#2155B3
secondary
#CAA666
accent
#AD3CEC
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2155B3

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

Preview Lab → · Contrast checker → · Palette generator →

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