#2155A8#2155A8

#2155A8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.145 H 259.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2155A8
RGBrgb(33, 85, 168)
HSLhsl(217, 67%, 39%)
HSVhsv(217, 80%, 66%)
CMYKcmyk(80.4%, 49.4%, 0%, 34.1%)
CIE-LABlab(37.20, 13.92, -49.49)
CIE-LCHlch(37.20, 51.41, 285.71°)
OKLaboklab(46.31% -0.0262 -0.1423)
OKLCHoklch(46.31% 0.145 259.6)
XYZxyz(10.9410, 9.6462, 38.3235)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155A8 #A87421
analogous
#2199A8 #2155A8 #3121A8
triadic
#2155A8 #A82155 #55A821
tetradic
#2155A8 #A82199 #A87421 #21A831
square
#2155A8 #A82199 #A87421 #21A831
split-complementary
#2155A8 #A83121 #99A821
monochromatic
#0D2142 #173B75 #2155A8 #3070D6 #6393E0

Accessibility & contrast

On white

7.17
#2155A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2155A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2155A8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2155A8#FFFFFF#000000##FFFFFF
##2155A81.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2155a8;
/* rgb */ color: rgb(33, 85, 168);
/* oklch */ color: oklch(46.3% 0.145 259.6);
Tailwind
colors: {
  custom: {
    50: '#7284c2',
    500: '#2155a8',
    950: '#000000',
  },
}
SCSS
$custom: #2155a8;
$custom-light: #7284c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2155a8",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 168
  },
  "hsl": {
    "h": 216.889,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46306,
    "c": 0.14471,
    "h": 259.6
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#2155A8
secondary
#C59E5F
accent
#A83EEA
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2155A8

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

Preview Lab → · Contrast checker → · Palette generator →

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