#2552BA#2552BA

#2552BA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.172 H 263.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2552BA
RGBrgb(37, 82, 186)
HSLhsl(222, 67%, 44%)
HSVhsv(222, 80%, 73%)
CMYKcmyk(80.1%, 55.9%, 0%, 27.1%)
CIE-LABlab(37.79, 23.36, -59.16)
CIE-LCHlch(37.79, 63.60, 291.54°)
OKLaboklab(47.21% -0.0194 -0.1708)
OKLCHoklch(47.21% 0.172 263.5)
XYZxyz(12.6400, 9.9716, 47.7034)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552BA #BA8D25
analogous
#259CBA #2552BA #4225BA
triadic
#2552BA #BA2552 #52BA25
tetradic
#2552BA #BA259C #BA8D25 #25BA42
square
#2552BA #BA259C #BA8D25 #25BA42
split-complementary
#2552BA #BA4225 #9CBA25
monochromatic
#112554 #1B3B87 #2552BA #4370DA #7697E4

Accessibility & contrast

On white

7.01
#2552BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2552BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2552BA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552BA#FFFFFF#000000##FFFFFF
##2552BA1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2552ba;
/* rgb */ color: rgb(37, 82, 186);
/* oklch */ color: oklch(47.2% 0.172 263.5);
Tailwind
colors: {
  custom: {
    50: '#7882d0',
    500: '#2552ba',
    950: '#000000',
  },
}
SCSS
$custom: #2552ba;
$custom-light: #7882d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2552ba",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 221.879,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47206,
    "c": 0.17187,
    "h": 263.5
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#2552BA
secondary
#CBAF70
accent
#B63EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2552BA

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

Preview Lab → · Contrast checker → · Palette generator →

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