#2551A3#2551A3

#2551A3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.142 H 261.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2551A3
RGBrgb(37, 81, 163)
HSLhsl(219, 63%, 39%)
HSVhsv(219, 77%, 64%)
CMYKcmyk(77.3%, 50.3%, 0%, 36.1%)
CIE-LABlab(35.83, 15.07, -48.70)
CIE-LCHlch(35.83, 50.98, 287.20°)
OKLaboklab(45.19% -0.021 -0.14)
OKLCHoklch(45.19% 0.142 261.5)
XYZxyz(10.3139, 8.9213, 35.8216)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551A3 #A37725
analogous
#2590A3 #2551A3 #3825A3
triadic
#2551A3 #A32551 #51A325
tetradic
#2551A3 #A32590 #A37725 #25A338
square
#2551A3 #A32590 #A37725 #25A338
split-complementary
#2551A3 #A33825 #90A325
monochromatic
#0E1F3F #1A3871 #2551A3 #346BD1 #668FDC

Accessibility & contrast

On white

7.54
#2551A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2551A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2551A3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551A3#FFFFFF#000000##FFFFFF
##2551A31.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2551a3;
/* rgb */ color: rgb(37, 81, 163);
/* oklch */ color: oklch(45.2% 0.142 261.5);
Tailwind
colors: {
  custom: {
    50: '#7381bf',
    500: '#2551a3',
    950: '#000000',
  },
}
SCSS
$custom: #2551a3;
$custom-light: #7381bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2551a3",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 219.048,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45186,
    "c": 0.1416,
    "h": 261.5
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#2551A3
secondary
#C2A062
accent
#AD42E6
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2551A3

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

Preview Lab → · Contrast checker → · Palette generator →

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