#2551AC#2551AC

#2551AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.154 H 262.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2551AC
RGBrgb(37, 81, 172)
HSLhsl(220, 65%, 41%)
HSVhsv(220, 78%, 67%)
CMYKcmyk(78.5%, 52.9%, 0%, 32.5%)
CIE-LABlab(36.47, 18.59, -53.03)
CIE-LCHlch(36.47, 56.20, 289.32°)
OKLaboklab(45.88% -0.0199 -0.1528)
OKLCHoklch(45.88% 0.154 262.6)
XYZxyz(11.1491, 9.2554, 40.2206)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551AC #AC8025
analogous
#2594AC #2551AC #3C25AC
triadic
#2551AC #AC2551 #51AC25
tetradic
#2551AC #AC2594 #AC8025 #25AC3C
square
#2551AC #AC2594 #AC8025 #25AC3C
split-complementary
#2551AC #AC3C25 #94AC25
monochromatic
#0F2247 #1A397A #2551AC #3A6CD5 #6C92DF

Accessibility & contrast

On white

7.36
#2551AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2551AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2551AC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2551AC#FFFFFF#000000##FFFFFF
##2551AC1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2551ac;
/* rgb */ color: rgb(37, 81, 172);
/* oklch */ color: oklch(45.9% 0.154 262.6);
Tailwind
colors: {
  custom: {
    50: '#7581c5',
    500: '#2551ac',
    950: '#000000',
  },
}
SCSS
$custom: #2551ac;
$custom-light: #7581c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2551ac",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 220.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45876,
    "c": 0.15407,
    "h": 262.6
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2551AC

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

Preview Lab → · Contrast checker → · Palette generator →

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