#2551B0#2551B0

#2551B0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.160 H 263.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2551B0
RGBrgb(37, 81, 176)
HSLhsl(221, 65%, 42%)
HSVhsv(221, 79%, 69%)
CMYKcmyk(79%, 54%, 0%, 31%)
CIE-LABlab(36.76, 20.14, -54.93)
CIE-LCHlch(36.76, 58.51, 290.14°)
OKLaboklab(46.19% -0.0195 -0.1584)
OKLCHoklch(46.19% 0.16 263)
XYZxyz(11.5390, 9.4114, 42.2743)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551B0 #B08425
analogous
#2597B0 #2551B0 #3F25B0
triadic
#2551B0 #B02551 #51B025
tetradic
#2551B0 #B02597 #B08425 #25B03F
square
#2551B0 #B02597 #B08425 #25B03F
split-complementary
#2551B0 #B03F25 #97B025
monochromatic
#10224B #1A3A7D #2551B0 #3C6DD6 #6F93E1

Accessibility & contrast

On white

7.29
#2551B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2551B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2551B0
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551B0#FFFFFF#000000##FFFFFF
##2551B01.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025DB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2551b0;
/* rgb */ color: rgb(37, 81, 176);
/* oklch */ color: oklch(46.2% 0.160 263.0);
Tailwind
colors: {
  custom: {
    50: '#7681c8',
    500: '#2551b0',
    950: '#000000',
  },
}
SCSS
$custom: #2551b0;
$custom-light: #7681c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2551b0",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 176
  },
  "hsl": {
    "h": 221.007,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.15956,
    "h": 263
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#2551B0
secondary
#C7AA6A
accent
#B340E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2551B0

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

Preview Lab → · Contrast checker → · Palette generator →

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