#2155AA#2155AA

#2155AA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.147 H 259.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2155AA
RGBrgb(33, 85, 170)
HSLhsl(217, 67%, 40%)
HSVhsv(217, 81%, 67%)
CMYKcmyk(80.6%, 50%, 0%, 33.3%)
CIE-LABlab(37.34, 14.71, -50.45)
CIE-LCHlch(37.34, 52.55, 286.25°)
OKLaboklab(46.46% -0.0259 -0.1452)
OKLCHoklch(46.46% 0.147 259.9)
XYZxyz(11.1288, 9.7213, 39.3123)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155AA #AA7621
analogous
#219AAA #2155AA #3121AA
triadic
#2155AA #AA2155 #55AA21
tetradic
#2155AA #AA219A #AA7621 #21AA31
square
#2155AA #AA219A #AA7621 #21AA31
split-complementary
#2155AA #AA3121 #9AAA21
monochromatic
#0D2243 #173B77 #2155AA #3170D7 #6494E1

Accessibility & contrast

On white

7.13
#2155AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2155AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2155AA#FFFFFF#000000##FFFFFF
##2155AA1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2155aa;
/* rgb */ color: rgb(33, 85, 170);
/* oklch */ color: oklch(46.5% 0.147 259.9);
Tailwind
colors: {
  custom: {
    50: '#7384c4',
    500: '#2155aa',
    950: '#000000',
  },
}
SCSS
$custom: #2155aa;
$custom-light: #7384c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2155aa",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 217.226,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46456,
    "c": 0.14745,
    "h": 259.9
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#2155AA
secondary
#C6A061
accent
#A93DEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2155AA

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

Preview Lab → · Contrast checker → · Palette generator →

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