#2551A4#2551A4

#2551A4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.143 H 261.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2551A4
RGBrgb(37, 81, 164)
HSLhsl(219, 63%, 39%)
HSVhsv(219, 77%, 64%)
CMYKcmyk(77.4%, 50.6%, 0%, 35.7%)
CIE-LABlab(35.90, 15.46, -49.19)
CIE-LCHlch(35.90, 51.56, 287.45°)
OKLaboklab(45.26% -0.0209 -0.1415)
OKLCHoklch(45.26% 0.143 261.6)
XYZxyz(10.4038, 8.9573, 36.2954)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551A4 #A47825
analogous
#2590A4 #2551A4 #3925A4
triadic
#2551A4 #A42551 #51A425
tetradic
#2551A4 #A42590 #A47825 #25A439
square
#2551A4 #A42590 #A47825 #25A439
split-complementary
#2551A4 #A43925 #90A425
monochromatic
#0E2040 #1A3872 #2551A4 #356BD1 #6790DD

Accessibility & contrast

On white

7.52
#2551A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2551A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2551A4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551A4#FFFFFF#000000##FFFFFF
##2551A41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2551a4;
/* rgb */ color: rgb(37, 81, 164);
/* oklch */ color: oklch(45.3% 0.143 261.6);
Tailwind
colors: {
  custom: {
    50: '#7381c0',
    500: '#2551a4',
    950: '#000000',
  },
}
SCSS
$custom: #2551a4;
$custom-light: #7381c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2551a4",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 219.213,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45261,
    "c": 0.143,
    "h": 261.6
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2551A4

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

Preview Lab → · Contrast checker → · Palette generator →

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