#2551A2#2551A2

#2551A2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.140 H 261.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2551A2
RGBrgb(37, 81, 162)
HSLhsl(219, 63%, 39%)
HSVhsv(219, 77%, 64%)
CMYKcmyk(77.2%, 50%, 0%, 36.5%)
CIE-LABlab(35.76, 14.68, -48.21)
CIE-LCHlch(35.76, 50.40, 286.93°)
OKLaboklab(45.11% -0.0212 -0.1386)
OKLCHoklch(45.11% 0.14 261.3)
XYZxyz(10.2246, 8.8856, 35.3516)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551A2 #A27625
analogous
#2590A2 #2551A2 #3825A2
triadic
#2551A2 #A22551 #51A225
tetradic
#2551A2 #A22590 #A27625 #25A238
square
#2551A2 #A22590 #A27625 #25A238
split-complementary
#2551A2 #A23825 #90A225
monochromatic
#0E1F3E #1A3870 #2551A2 #346BD1 #658FDC

Accessibility & contrast

On white

7.56
#2551A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2551A2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551A2#FFFFFF#000000##FFFFFF
##2551A21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2551a2;
/* rgb */ color: rgb(37, 81, 162);
/* oklch */ color: oklch(45.1% 0.140 261.3);
Tailwind
colors: {
  custom: {
    50: '#7281be',
    500: '#2551a2',
    950: '#000000',
  },
}
SCSS
$custom: #2551a2;
$custom-light: #7281be;
$custom-dark: #000000;
JSON
{
  "hex": "#2551a2",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 218.88,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.14021,
    "h": 261.3
  },
  "luminance": 0.08887
}

Semantic roles & 50–950 ramp

primary
#2551A2
secondary
#C2A061
accent
#AC42E6
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2551A2

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

Preview Lab → · Contrast checker → · Palette generator →

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