#2552AA#2552AA

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

Color values

HEX#2552AA
RGBrgb(37, 82, 170)
HSLhsl(220, 64%, 41%)
HSVhsv(220, 78%, 67%)
CMYKcmyk(78.2%, 51.8%, 0%, 33.3%)
CIE-LABlab(36.61, 17.14, -51.62)
CIE-LCHlch(36.61, 54.39, 288.37°)
OKLaboklab(45.94% -0.0209 -0.1486)
OKLCHoklch(45.94% 0.15 262)
XYZxyz(11.0333, 9.3289, 39.2416)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552AA #AA7D25
analogous
#2594AA #2552AA #3A25AA
triadic
#2552AA #AA2552 #52AA25
tetradic
#2552AA #AA2594 #AA7D25 #25AA3A
square
#2552AA #AA2594 #AA7D25 #25AA3A
split-complementary
#2552AA #AA3A25 #94AA25
monochromatic
#0F2245 #1A3A78 #2552AA #386DD4 #6B92DF

Accessibility & contrast

On white

7.33
#2552AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2552AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2552AA#FFFFFF#000000##FFFFFF
##2552AA1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2552aa;
/* rgb */ color: rgb(37, 82, 170);
/* oklch */ color: oklch(45.9% 0.150 262.0);
Tailwind
colors: {
  custom: {
    50: '#7482c4',
    500: '#2552aa',
    950: '#000000',
  },
}
SCSS
$custom: #2552aa;
$custom-light: #7482c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2552aa",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 219.699,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.15007,
    "h": 262
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#2552AA
secondary
#C5A566
accent
#AF41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2552AA

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

Preview Lab → · Contrast checker → · Palette generator →

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