#2155A7#2155A7

#2155A7 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.143 H 259.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2155A7
RGBrgb(33, 85, 167)
HSLhsl(217, 67%, 39%)
HSVhsv(217, 80%, 65%)
CMYKcmyk(80.2%, 49.1%, 0%, 34.5%)
CIE-LABlab(37.13, 13.52, -49.00)
CIE-LCHlch(37.13, 50.83, 285.43°)
OKLaboklab(46.23% -0.0263 -0.1409)
OKLCHoklch(46.23% 0.143 259.4)
XYZxyz(10.8482, 9.6091, 37.8347)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155A7 #A77321
analogous
#2198A7 #2155A7 #3021A7
triadic
#2155A7 #A72155 #55A721
tetradic
#2155A7 #A72198 #A77321 #21A730
square
#2155A7 #A72198 #A77321 #21A730
split-complementary
#2155A7 #A73021 #98A721
monochromatic
#0D2141 #173B74 #2155A7 #2F70D6 #6293E0

Accessibility & contrast

On white

7.19
#2155A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2155A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2155A7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155A7#FFFFFF#000000##FFFFFF
##2155A71.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2155a7;
/* rgb */ color: rgb(33, 85, 167);
/* oklch */ color: oklch(46.2% 0.143 259.4);
Tailwind
colors: {
  custom: {
    50: '#7284c2',
    500: '#2155a7',
    950: '#000000',
  },
}
SCSS
$custom: #2155a7;
$custom-light: #7284c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2155a7",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 167
  },
  "hsl": {
    "h": 216.716,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.14333,
    "h": 259.4
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#2155A7
secondary
#C59D5F
accent
#A73EEA
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2155A7

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

Preview Lab → · Contrast checker → · Palette generator →

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