#2155BA#2155BA

#2155BA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.169 H 261.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2155BA
RGBrgb(33, 85, 186)
HSLhsl(220, 70%, 43%)
HSVhsv(220, 82%, 73%)
CMYKcmyk(82.3%, 54.3%, 0%, 27.1%)
CIE-LABlab(38.49, 20.99, -58.03)
CIE-LCHlch(38.49, 61.71, 289.89°)
OKLaboklab(47.7% -0.024 -0.1675)
OKLCHoklch(47.7% 0.169 261.9)
XYZxyz(12.7354, 10.3640, 47.7741)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2155BA #BA8621
analogous
#21A1BA #2155BA #3A21BA
triadic
#2155BA #BA2155 #55BA21
tetradic
#2155BA #BA21A1 #BA8621 #21BA3A
square
#2155BA #BA21A1 #BA8621 #21BA3A
split-complementary
#2155BA #BA3A21 #A1BA21
monochromatic
#0F2552 #183D86 #2155BA #3C72DC #7098E6

Accessibility & contrast

On white

6.83
#2155BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2155BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2155BA#FFFFFF#000000##FFFFFF
##2155BA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2155ba;
/* rgb */ color: rgb(33, 85, 186);
/* oklch */ color: oklch(47.7% 0.169 261.9);
Tailwind
colors: {
  custom: {
    50: '#7784cf',
    500: '#2155ba',
    950: '#000000',
  },
}
SCSS
$custom: #2155ba;
$custom-light: #7784cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2155ba",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 219.608,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.16917,
    "h": 261.9
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#2155BA
secondary
#CCAB6B
accent
#B03BED
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2155BA

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

Preview Lab → · Contrast checker → · Palette generator →

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