#2552E2#2552E2

#2552E2 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.7% C 0.223 H 265.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2552E2
RGBrgb(37, 82, 226)
HSLhsl(226, 77%, 52%)
HSVhsv(226, 84%, 89%)
CMYKcmyk(83.6%, 63.7%, 0%, 11.4%)
CIE-LABlab(41.08, 38.41, -76.88)
CIE-LCHlch(41.08, 85.94, 296.55°)
OKLaboklab(50.68% -0.0184 -0.2227)
OKLCHoklch(50.68% 0.223 265.3)
XYZxyz(17.5029, 11.9167, 73.3144)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552E2 #E2B525
analogous
#25B1E2 #2552E2 #5725E2
triadic
#2552E2 #E22552 #52E225
tetradic
#2552E2 #E225B1 #E2B525 #25E257
square
#2552E2 #E225B1 #E2B525 #25E257
split-complementary
#2552E2 #E25725 #B1E225
monochromatic
#112A7C #183CB2 #2552E2 #5B7DE9 #91A8F0

Accessibility & contrast

On white

6.21
#2552E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2552E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2552E2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552E2#FFFFFF#000000##FFFFFF
##2552E21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2552e2;
/* rgb */ color: rgb(37, 82, 226);
/* oklch */ color: oklch(50.7% 0.223 265.3);
Tailwind
colors: {
  custom: {
    50: '#8282ec',
    500: '#2552e2',
    950: '#000000',
  },
}
SCSS
$custom: #2552e2;
$custom-light: #8282ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2552e2",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 225.714,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.22347,
    "h": 265.3
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#2552E2
secondary
#DBC788
accent
#C635F3
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #2552E2

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

Preview Lab → · Contrast checker → · Palette generator →

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