#2552A2#2552A2

#2552A2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.3% C 0.139 H 260.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2552A2
RGBrgb(37, 82, 162)
HSLhsl(218, 63%, 39%)
HSVhsv(218, 77%, 64%)
CMYKcmyk(77.2%, 49.4%, 0%, 36.5%)
CIE-LABlab(36.05, 14.01, -47.75)
CIE-LCHlch(36.05, 49.76, 286.36°)
OKLaboklab(45.33% -0.022 -0.1372)
OKLCHoklch(45.33% 0.139 260.9)
XYZxyz(10.2995, 9.0354, 35.3766)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552A2 #A27525
analogous
#2591A2 #2552A2 #3725A2
triadic
#2552A2 #A22552 #52A225
tetradic
#2552A2 #A22591 #A27525 #25A237
square
#2552A2 #A22591 #A27525 #25A237
split-complementary
#2552A2 #A23725 #91A225
monochromatic
#0E203E #1A3970 #2552A2 #346CD1 #6590DC

Accessibility & contrast

On white

7.48
#2552A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2552A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2552A2#FFFFFF#000000##FFFFFF
##2552A21.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2552a2;
/* rgb */ color: rgb(37, 82, 162);
/* oklch */ color: oklch(45.3% 0.139 260.9);
Tailwind
colors: {
  custom: {
    50: '#7282be',
    500: '#2552a2',
    950: '#000000',
  },
}
SCSS
$custom: #2552a2;
$custom-light: #7282be;
$custom-dark: #000000;
JSON
{
  "hex": "#2552a2",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 218.4,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.13895,
    "h": 260.9
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#2552A2
secondary
#C29F61
accent
#AB42E6
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2552A2

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

Preview Lab → · Contrast checker → · Palette generator →

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