#2551AD#2551AD

#2551AD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.155 H 262.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2551AD
RGBrgb(37, 81, 173)
HSLhsl(221, 65%, 41%)
HSVhsv(221, 79%, 68%)
CMYKcmyk(78.6%, 53.2%, 0%, 32.2%)
CIE-LABlab(36.54, 18.98, -53.51)
CIE-LCHlch(36.54, 56.78, 289.53°)
OKLaboklab(45.96% -0.0198 -0.1542)
OKLCHoklch(45.96% 0.155 262.7)
XYZxyz(11.2455, 9.2940, 40.7283)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551AD #AD8125
analogous
#2595AD #2551AD #3D25AD
triadic
#2551AD #AD2551 #51AD25
tetradic
#2551AD #AD2595 #AD8125 #25AD3D
square
#2551AD #AD2595 #AD8125 #25AD3D
split-complementary
#2551AD #AD3D25 #95AD25
monochromatic
#0F2248 #1A397B #2551AD #3A6CD5 #6D92E0

Accessibility & contrast

On white

7.35
#2551AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2551AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2551AD
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551AD#FFFFFF#000000##FFFFFF
##2551AD1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5DB0
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2551ad;
/* rgb */ color: rgb(37, 81, 173);
/* oklch */ color: oklch(46.0% 0.155 262.7);
Tailwind
colors: {
  custom: {
    50: '#7581c6',
    500: '#2551ad',
    950: '#000000',
  },
}
SCSS
$custom: #2551ad;
$custom-light: #7581c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2551ad",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 220.588,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.15545,
    "h": 262.7
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#2551AD
secondary
#C6A868
accent
#B140E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2551AD

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

Preview Lab → · Contrast checker → · Palette generator →

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