#2551AE#2551AE

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

Color values

HEX#2551AE
RGBrgb(37, 81, 174)
HSLhsl(221, 65%, 41%)
HSVhsv(221, 79%, 68%)
CMYKcmyk(78.7%, 53.4%, 0%, 31.8%)
CIE-LABlab(36.62, 19.37, -53.98)
CIE-LCHlch(36.62, 57.35, 289.74°)
OKLaboklab(46.03% -0.0197 -0.1556)
OKLCHoklch(46.03% 0.157 262.8)
XYZxyz(11.3426, 9.3328, 41.2398)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551AE #AE8225
analogous
#2596AE #2551AE #3E25AE
triadic
#2551AE #AE2551 #51AE25
tetradic
#2551AE #AE2596 #AE8225 #25AE3E
square
#2551AE #AE2596 #AE8225 #25AE3E
split-complementary
#2551AE #AE3E25 #96AE25
monochromatic
#102249 #1A3A7C #2551AE #3B6CD5 #6D92E0

Accessibility & contrast

On white

7.33
#2551AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2551AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2551AE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551AE#FFFFFF#000000##FFFFFF
##2551AE1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2551ae;
/* rgb */ color: rgb(37, 81, 174);
/* oklch */ color: oklch(46.0% 0.157 262.8);
Tailwind
colors: {
  custom: {
    50: '#7581c7',
    500: '#2551ae',
    950: '#000000',
  },
}
SCSS
$custom: #2551ae;
$custom-light: #7581c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2551ae",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 220.73,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46033,
    "c": 0.15682,
    "h": 262.8
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2551AE

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

Preview Lab → · Contrast checker → · Palette generator →

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