#2551E2#2551E2

#2551E2 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.5% C 0.225 H 265.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2551E2
RGBrgb(37, 81, 226)
HSLhsl(226, 77%, 52%)
HSVhsv(226, 84%, 89%)
CMYKcmyk(83.6%, 64.2%, 0%, 11.4%)
CIE-LABlab(40.84, 39.04, -77.27)
CIE-LCHlch(40.84, 86.57, 296.81°)
OKLaboklab(50.5% -0.018 -0.2239)
OKLCHoklch(50.5% 0.225 265.4)
XYZxyz(17.4280, 11.7670, 73.2895)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2551E2 #E2B625
analogous
#25AFE2 #2551E2 #5825E2
triadic
#2551E2 #E22551 #51E225
tetradic
#2551E2 #E225AF #E2B625 #25E258
square
#2551E2 #E225AF #E2B625 #25E258
split-complementary
#2551E2 #E25825 #AFE225
monochromatic
#112A7C #183CB2 #2551E2 #5B7CE9 #91A7F0

Accessibility & contrast

On white

6.26
#2551E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2551E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2551E2#FFFFFF#000000##FFFFFF
##2551E21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2551e2;
/* rgb */ color: rgb(37, 81, 226);
/* oklch */ color: oklch(50.5% 0.225 265.4);
Tailwind
colors: {
  custom: {
    50: '#8281ec',
    500: '#2551e2',
    950: '#000000',
  },
}
SCSS
$custom: #2551e2;
$custom-light: #8281ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2551e2",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 226.032,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50504,
    "c": 0.22459,
    "h": 265.4
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#2551E2
secondary
#DBC888
accent
#C735F3
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #2551E2

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

Preview Lab → · Contrast checker → · Palette generator →

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