#2552B0#2552B0

#2552B0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.158 H 262.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2552B0
RGBrgb(37, 82, 176)
HSLhsl(221, 65%, 42%)
HSVhsv(221, 79%, 69%)
CMYKcmyk(79%, 53.4%, 0%, 31%)
CIE-LABlab(37.04, 19.48, -54.48)
CIE-LCHlch(37.04, 57.86, 289.68°)
OKLaboklab(46.4% -0.0202 -0.157)
OKLCHoklch(46.4% 0.158 262.7)
XYZxyz(11.6139, 9.5611, 42.2993)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552B0 #B08325
analogous
#2597B0 #2552B0 #3E25B0
triadic
#2552B0 #B02552 #52B025
tetradic
#2552B0 #B02597 #B08325 #25B03E
square
#2552B0 #B02597 #B08325 #25B03E
split-complementary
#2552B0 #B03E25 #97B025
monochromatic
#10234B #1A3A7D #2552B0 #3C6ED6 #6F94E1

Accessibility & contrast

On white

7.21
#2552B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2552B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2552B0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552B0#FFFFFF#000000##FFFFFF
##2552B01.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095EB3
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2552b0;
/* rgb */ color: rgb(37, 82, 176);
/* oklch */ color: oklch(46.4% 0.158 262.7);
Tailwind
colors: {
  custom: {
    50: '#7682c8',
    500: '#2552b0',
    950: '#000000',
  },
}
SCSS
$custom: #2552b0;
$custom-light: #7682c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2552b0",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 220.576,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.15831,
    "h": 262.7
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#2552B0
secondary
#C7A96A
accent
#B240E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2552B0

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

Preview Lab → · Contrast checker → · Palette generator →

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