#2552B7#2552B7

#2552B7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.168 H 263.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2552B7
RGBrgb(37, 82, 183)
HSLhsl(222, 66%, 43%)
HSVhsv(222, 80%, 72%)
CMYKcmyk(79.8%, 55.2%, 0%, 28.2%)
CIE-LABlab(37.56, 22.20, -57.77)
CIE-LCHlch(37.56, 61.88, 291.02°)
OKLaboklab(46.96% -0.0196 -0.1667)
OKLCHoklch(46.96% 0.168 263.3)
XYZxyz(12.3244, 9.8453, 46.0414)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552B7 #B78A25
analogous
#259BB7 #2552B7 #4125B7
triadic
#2552B7 #B72552 #52B725
tetradic
#2552B7 #B7259B #B78A25 #25B741
square
#2552B7 #B7259B #B78A25 #25B741
split-complementary
#2552B7 #B74125 #9BB725
monochromatic
#102451 #1B3B84 #2552B7 #416FD9 #7496E3

Accessibility & contrast

On white

7.07
#2552B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2552B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2552B7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552B7#FFFFFF#000000##FFFFFF
##2552B71.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2552b7;
/* rgb */ color: rgb(37, 82, 183);
/* oklch */ color: oklch(47.0% 0.168 263.3);
Tailwind
colors: {
  custom: {
    50: '#7782cd',
    500: '#2552b7',
    950: '#000000',
  },
}
SCSS
$custom: #2552b7;
$custom-light: #7782cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2552b7",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 221.507,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46962,
    "c": 0.16782,
    "h": 263.3
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#2552B7
secondary
#CAAE6E
accent
#B53FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2552B7

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

Preview Lab → · Contrast checker → · Palette generator →

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