#2155A4#2155A4

#2155A4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.139 H 258.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2155A4
RGBrgb(33, 85, 164)
HSLhsl(216, 66%, 39%)
HSVhsv(216, 80%, 64%)
CMYKcmyk(79.9%, 48.2%, 0%, 35.7%)
CIE-LABlab(36.93, 12.34, -47.54)
CIE-LCHlch(36.93, 49.11, 284.55°)
OKLaboklab(46.01% -0.0268 -0.1366)
OKLCHoklch(46.01% 0.139 258.9)
XYZxyz(10.5741, 9.4994, 36.3910)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155A4 #A47021
analogous
#2196A4 #2155A4 #2E21A4
triadic
#2155A4 #A42155 #55A421
tetradic
#2155A4 #A42196 #A47021 #21A42E
square
#2155A4 #A42196 #A47021 #21A42E
split-complementary
#2155A4 #A42E21 #96A421
monochromatic
#0C203E #173B71 #2155A4 #2D70D5 #6093DF

Accessibility & contrast

On white

7.24
#2155A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2155A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2155A4
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155A4#FFFFFF#000000##FFFFFF
##2155A41.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2155a4;
/* rgb */ color: rgb(33, 85, 164);
/* oklch */ color: oklch(46.0% 0.139 258.9);
Tailwind
colors: {
  custom: {
    50: '#7184bf',
    500: '#2155a4',
    950: '#000000',
  },
}
SCSS
$custom: #2155a4;
$custom-light: #7184bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2155a4",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 164
  },
  "hsl": {
    "h": 216.183,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46011,
    "c": 0.1392,
    "h": 258.9
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#2155A4
secondary
#C49B5D
accent
#A63EE9
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2155A4

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

Preview Lab → · Contrast checker → · Palette generator →

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