#2155AC#2155AC

#2155AC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.150 H 260.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2155AC
RGBrgb(33, 85, 172)
HSLhsl(218, 68%, 40%)
HSVhsv(218, 81%, 67%)
CMYKcmyk(80.8%, 50.6%, 0%, 32.5%)
CIE-LABlab(37.48, 15.50, -51.42)
CIE-LCHlch(37.48, 53.70, 286.77°)
OKLaboklab(46.61% -0.0256 -0.148)
OKLCHoklch(46.61% 0.15 260.2)
XYZxyz(11.3194, 9.7975, 40.3163)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155AC #AC7821
analogous
#219AAC #2155AC #3221AC
triadic
#2155AC #AC2155 #55AC21
tetradic
#2155AC #AC219A #AC7821 #21AC32
square
#2155AC #AC219A #AC7821 #21AC32
split-complementary
#2155AC #AC3221 #9AAC21
monochromatic
#0D2245 #173C79 #2155AC #3270D8 #6694E2

Accessibility & contrast

On white

7.10
#2155AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2155AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2155AC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155AC#FFFFFF#000000##FFFFFF
##2155AC1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2155ac;
/* rgb */ color: rgb(33, 85, 172);
/* oklch */ color: oklch(46.6% 0.150 260.2);
Tailwind
colors: {
  custom: {
    50: '#7384c5',
    500: '#2155ac',
    950: '#000000',
  },
}
SCSS
$custom: #2155ac;
$custom-light: #7384c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2155ac",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 217.554,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.15019,
    "h": 260.2
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#2155AC
secondary
#C7A162
accent
#AA3DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2155AC

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

Preview Lab → · Contrast checker → · Palette generator →

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