#2551BB#2551BB

#2551BB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.174 H 263.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2551BB
RGBrgb(37, 81, 187)
HSLhsl(222, 67%, 44%)
HSVhsv(222, 80%, 73%)
CMYKcmyk(80.2%, 56.7%, 0%, 26.7%)
CIE-LABlab(37.60, 24.40, -60.06)
CIE-LCHlch(37.60, 64.83, 292.11°)
OKLaboklab(47.08% -0.0186 -0.1734)
OKLCHoklch(47.08% 0.174 263.9)
XYZxyz(12.6718, 9.8645, 48.2403)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551BB #BB8F25
analogous
#259CBB #2551BB #4425BB
triadic
#2551BB #BB2551 #51BB25
tetradic
#2551BB #BB259C #BB8F25 #25BB44
square
#2551BB #BB259C #BB8F25 #25BB44
split-complementary
#2551BB #BB4425 #9CBB25
monochromatic
#112555 #1B3B88 #2551BB #436FDA #7697E4

Accessibility & contrast

On white

7.06
#2551BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2551BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2551BB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551BB#FFFFFF#000000##FFFFFF
##2551BB1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2551bb;
/* rgb */ color: rgb(37, 81, 187);
/* oklch */ color: oklch(47.1% 0.174 263.9);
Tailwind
colors: {
  custom: {
    50: '#7881d0',
    500: '#2551bb',
    950: '#000000',
  },
}
SCSS
$custom: #2551bb;
$custom-light: #7881d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2551bb",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 222.4,
    "s": 66.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47084,
    "c": 0.17443,
    "h": 263.9
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#2551BB
secondary
#CBB170
accent
#B73EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2551BB

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

Preview Lab → · Contrast checker → · Palette generator →

#2551BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva