#2551AA#2551AA

#2551AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.151 H 262.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2551AA
RGBrgb(37, 81, 170)
HSLhsl(220, 64%, 41%)
HSVhsv(220, 78%, 67%)
CMYKcmyk(78.2%, 52.4%, 0%, 33.3%)
CIE-LABlab(36.33, 17.81, -52.08)
CIE-LCHlch(36.33, 55.04, 288.88°)
OKLaboklab(45.72% -0.0201 -0.15)
OKLCHoklch(45.72% 0.151 262.3)
XYZxyz(10.9585, 9.1792, 39.2166)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551AA #AA7E25
analogous
#2593AA #2551AA #3B25AA
triadic
#2551AA #AA2551 #51AA25
tetradic
#2551AA #AA2593 #AA7E25 #25AA3B
square
#2551AA #AA2593 #AA7E25 #25AA3B
split-complementary
#2551AA #AA3B25 #93AA25
monochromatic
#0F2145 #1A3978 #2551AA #386CD4 #6B91DF

Accessibility & contrast

On white

7.40
#2551AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2551AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2551AA#FFFFFF#000000##FFFFFF
##2551AA1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2551aa;
/* rgb */ color: rgb(37, 81, 170);
/* oklch */ color: oklch(45.7% 0.151 262.3);
Tailwind
colors: {
  custom: {
    50: '#7481c4',
    500: '#2551aa',
    950: '#000000',
  },
}
SCSS
$custom: #2551aa;
$custom-light: #7481c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2551aa",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 220.15,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.15132,
    "h": 262.3
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#2551AA
secondary
#C5A566
accent
#B041E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2551AA

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

Preview Lab → · Contrast checker → · Palette generator →

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