#2155AD#2155AD

#2155AD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.152 H 260.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2155AD
RGBrgb(33, 85, 173)
HSLhsl(218, 68%, 40%)
HSVhsv(218, 81%, 68%)
CMYKcmyk(80.9%, 50.9%, 0%, 32.2%)
CIE-LABlab(37.55, 15.89, -51.89)
CIE-LCHlch(37.55, 54.27, 287.02°)
OKLaboklab(46.68% -0.0255 -0.1494)
OKLCHoklch(46.68% 0.152 260.3)
XYZxyz(11.4158, 9.8361, 40.8240)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155AD #AD7921
analogous
#219BAD #2155AD #3321AD
triadic
#2155AD #AD2155 #55AD21
tetradic
#2155AD #AD219B #AD7921 #21AD33
square
#2155AD #AD219B #AD7921 #21AD33
split-complementary
#2155AD #AD3321 #9BAD21
monochromatic
#0D2246 #173C7A #2155AD #3370D8 #6694E2

Accessibility & contrast

On white

7.08
#2155AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2155AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2155AD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155AD#FFFFFF#000000##FFFFFF
##2155AD1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2155ad;
/* rgb */ color: rgb(33, 85, 173);
/* oklch */ color: oklch(46.7% 0.152 260.3);
Tailwind
colors: {
  custom: {
    50: '#7484c6',
    500: '#2155ad',
    950: '#000000',
  },
}
SCSS
$custom: #2155ad;
$custom-light: #7484c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2155ad",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 173
  },
  "hsl": {
    "h": 217.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.15156,
    "h": 260.3
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#2155AD
secondary
#C7A262
accent
#AA3DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2155AD

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

Preview Lab → · Contrast checker → · Palette generator →

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