#2552B2#2552B2

#2552B2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.161 H 262.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2552B2
RGBrgb(37, 82, 178)
HSLhsl(221, 66%, 42%)
HSVhsv(221, 79%, 70%)
CMYKcmyk(79.2%, 53.9%, 0%, 30.2%)
CIE-LABlab(37.19, 20.26, -55.42)
CIE-LCHlch(37.19, 59.01, 290.08°)
OKLaboklab(46.56% -0.02 -0.1598)
OKLCHoklch(46.56% 0.161 262.8)
XYZxyz(11.8132, 9.6409, 43.3491)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552B2 #B28525
analogous
#2599B2 #2552B2 #3F25B2
triadic
#2552B2 #B22552 #52B225
tetradic
#2552B2 #B22599 #B28525 #25B23F
square
#2552B2 #B22599 #B28525 #25B23F
split-complementary
#2552B2 #B23F25 #99B225
monochromatic
#10234D #1A3B7F #2552B2 #3D6ED7 #7094E1

Accessibility & contrast

On white

7.17
#2552B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2552B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2552B2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552B2#FFFFFF#000000##FFFFFF
##2552B21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2552b2;
/* rgb */ color: rgb(37, 82, 178);
/* oklch */ color: oklch(46.6% 0.161 262.8);
Tailwind
colors: {
  custom: {
    50: '#7682ca',
    500: '#2552b2',
    950: '#000000',
  },
}
SCSS
$custom: #2552b2;
$custom-light: #7682ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2552b2",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 220.851,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46561,
    "c": 0.16104,
    "h": 262.8
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#2552B2
secondary
#C8AA6B
accent
#B33FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2552B2

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

Preview Lab → · Contrast checker → · Palette generator →

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