#2552AC#2552AC

#2552AC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.153 H 262.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2552AC
RGBrgb(37, 82, 172)
HSLhsl(220, 65%, 41%)
HSVhsv(220, 78%, 67%)
CMYKcmyk(78.5%, 52.3%, 0%, 32.5%)
CIE-LABlab(36.75, 17.92, -52.58)
CIE-LCHlch(36.75, 55.55, 288.82°)
OKLaboklab(46.09% -0.0207 -0.1514)
OKLCHoklch(46.09% 0.153 262.2)
XYZxyz(11.2240, 9.4052, 40.2456)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552AC #AC7F25
analogous
#2595AC #2552AC #3B25AC
triadic
#2552AC #AC2552 #52AC25
tetradic
#2552AC #AC2595 #AC7F25 #25AC3B
square
#2552AC #AC2595 #AC7F25 #25AC3B
split-complementary
#2552AC #AC3B25 #95AC25
monochromatic
#0F2247 #1A3A7A #2552AC #3A6DD5 #6C92DF

Accessibility & contrast

On white

7.29
#2552AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2552AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2552AC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552AC#FFFFFF#000000##FFFFFF
##2552AC1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DAF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2552ac;
/* rgb */ color: rgb(37, 82, 172);
/* oklch */ color: oklch(46.1% 0.153 262.2);
Tailwind
colors: {
  custom: {
    50: '#7582c5',
    500: '#2552ac',
    950: '#000000',
  },
}
SCSS
$custom: #2552ac;
$custom-light: #7582c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2552ac",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 220,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.15283,
    "h": 262.2
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#2552AC
secondary
#C6A667
accent
#B040E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2552AC

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

Preview Lab → · Contrast checker → · Palette generator →

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