#2552A9#2552A9

#2552A9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.149 H 261.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2552A9
RGBrgb(37, 82, 169)
HSLhsl(220, 64%, 40%)
HSVhsv(220, 78%, 66%)
CMYKcmyk(78.1%, 51.5%, 0%, 33.7%)
CIE-LABlab(36.54, 16.75, -51.14)
CIE-LCHlch(36.54, 53.81, 288.14°)
OKLaboklab(45.86% -0.021 -0.1472)
OKLCHoklch(45.86% 0.149 261.9)
XYZxyz(10.9391, 9.2912, 38.7453)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552A9 #A97C25
analogous
#2594A9 #2552A9 #3A25A9
triadic
#2552A9 #A92552 #52A925
tetradic
#2552A9 #A92594 #A97C25 #25A93A
square
#2552A9 #A92594 #A97C25 #25A93A
split-complementary
#2552A9 #A93A25 #94A925
monochromatic
#0F2145 #1A3A77 #2552A9 #386DD3 #6A92DE

Accessibility & contrast

On white

7.35
#2552A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2552A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2552A9
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552A9#FFFFFF#000000##FFFFFF
##2552A91.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5CAC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2552a9;
/* rgb */ color: rgb(37, 82, 169);
/* oklch */ color: oklch(45.9% 0.149 261.9);
Tailwind
colors: {
  custom: {
    50: '#7482c3',
    500: '#2552a9',
    950: '#000000',
  },
}
SCSS
$custom: #2552a9;
$custom-light: #7482c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2552a9",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 169
  },
  "hsl": {
    "h": 219.545,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45859,
    "c": 0.14869,
    "h": 261.9
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#2552A9
secondary
#C4A465
accent
#AE41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2552A9

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

Preview Lab → · Contrast checker → · Palette generator →

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