#2551BA#2551BA

#2551BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.173 H 263.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2551BA
RGBrgb(37, 81, 186)
HSLhsl(222, 67%, 44%)
HSVhsv(222, 80%, 73%)
CMYKcmyk(80.1%, 56.5%, 0%, 27.1%)
CIE-LABlab(37.52, 24.02, -59.60)
CIE-LCHlch(37.52, 64.25, 291.95°)
OKLaboklab(47% -0.0187 -0.1721)
OKLCHoklch(47% 0.173 263.8)
XYZxyz(12.5651, 9.8219, 47.6784)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551BA #BA8E25
analogous
#259BBA #2551BA #4325BA
triadic
#2551BA #BA2551 #51BA25
tetradic
#2551BA #BA259B #BA8E25 #25BA43
square
#2551BA #BA259B #BA8E25 #25BA43
split-complementary
#2551BA #BA4325 #9BBA25
monochromatic
#112554 #1B3B87 #2551BA #436FDA #7696E4

Accessibility & contrast

On white

7.08
#2551BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2551BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2551BA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551BA#FFFFFF#000000##FFFFFF
##2551BA1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2551ba;
/* rgb */ color: rgb(37, 81, 186);
/* oklch */ color: oklch(47.0% 0.173 263.8);
Tailwind
colors: {
  custom: {
    50: '#7881d0',
    500: '#2551ba',
    950: '#000000',
  },
}
SCSS
$custom: #2551ba;
$custom-light: #7881d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2551ba",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 222.282,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.17309,
    "h": 263.8
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

primary
#2551BA
secondary
#CBB070
accent
#B73EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2551BA

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

Preview Lab → · Contrast checker → · Palette generator →

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