#2552B1#2552B1

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

Color values

HEX#2552B1
RGBrgb(37, 82, 177)
HSLhsl(221, 65%, 42%)
HSVhsv(221, 79%, 69%)
CMYKcmyk(79.1%, 53.7%, 0%, 30.6%)
CIE-LABlab(37.12, 19.87, -54.95)
CIE-LCHlch(37.12, 58.43, 289.88°)
OKLaboklab(46.48% -0.0201 -0.1584)
OKLCHoklch(46.48% 0.16 262.8)
XYZxyz(11.7132, 9.6009, 42.8223)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552B1 #B18425
analogous
#2598B1 #2552B1 #3E25B1
triadic
#2552B1 #B12552 #52B125
tetradic
#2552B1 #B12598 #B18425 #25B13E
square
#2552B1 #B12598 #B18425 #25B13E
split-complementary
#2552B1 #B13E25 #98B125
monochromatic
#10234C #1A3B7E #2552B1 #3D6ED6 #6F94E1

Accessibility & contrast

On white

7.19
#2552B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2552B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2552B1
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552B1#FFFFFF#000000##FFFFFF
##2552B11.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055EB4
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2552b1;
/* rgb */ color: rgb(37, 82, 177);
/* oklch */ color: oklch(46.5% 0.160 262.8);
Tailwind
colors: {
  custom: {
    50: '#7682c9',
    500: '#2552b1',
    950: '#000000',
  },
}
SCSS
$custom: #2552b1;
$custom-light: #7682c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2552b1",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 220.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.15968,
    "h": 262.8
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#2552B1
secondary
#C8AA6A
accent
#B23FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2552B1

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

Preview Lab → · Contrast checker → · Palette generator →

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