#2155A6#2155A6

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

Color values

HEX#2155A6
RGBrgb(33, 85, 166)
HSLhsl(217, 67%, 39%)
HSVhsv(217, 80%, 65%)
CMYKcmyk(80.1%, 48.8%, 0%, 34.9%)
CIE-LABlab(37.06, 13.13, -48.51)
CIE-LCHlch(37.06, 50.26, 285.14°)
OKLaboklab(46.16% -0.0265 -0.1395)
OKLCHoklch(46.16% 0.142 259.2)
XYZxyz(10.7561, 9.5722, 37.3497)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155A6 #A67221
analogous
#2198A6 #2155A6 #2F21A6
triadic
#2155A6 #A62155 #55A621
tetradic
#2155A6 #A62198 #A67221 #21A62F
square
#2155A6 #A62198 #A67221 #21A62F
split-complementary
#2155A6 #A62F21 #98A621
monochromatic
#0D2140 #173B73 #2155A6 #2F70D6 #6293E0

Accessibility & contrast

On white

7.20
#2155A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2155A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2155A6
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155A6#FFFFFF#000000##FFFFFF
##2155A61.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EA9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2155a6;
/* rgb */ color: rgb(33, 85, 166);
/* oklch */ color: oklch(46.2% 0.142 259.2);
Tailwind
colors: {
  custom: {
    50: '#7284c1',
    500: '#2155a6',
    950: '#000000',
  },
}
SCSS
$custom: #2155a6;
$custom-light: #7284c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2155a6",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 166
  },
  "hsl": {
    "h": 216.541,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46158,
    "c": 0.14196,
    "h": 259.2
  },
  "luminance": 0.09574
}

Semantic roles & 50–950 ramp

primary
#2155A6
secondary
#C59D5E
accent
#A73EEA
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2155A6

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

Preview Lab → · Contrast checker → · Palette generator →

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