#2552A4#2552A4

#2552A4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.142 H 261.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2552A4
RGBrgb(37, 82, 164)
HSLhsl(219, 63%, 39%)
HSVhsv(219, 77%, 64%)
CMYKcmyk(77.4%, 50%, 0%, 35.7%)
CIE-LABlab(36.19, 14.80, -48.72)
CIE-LCHlch(36.19, 50.92, 286.89°)
OKLaboklab(45.48% -0.0217 -0.1401)
OKLCHoklch(45.48% 0.142 261.2)
XYZxyz(10.4787, 9.1070, 36.3203)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552A4 #A47725
analogous
#2592A4 #2552A4 #3825A4
triadic
#2552A4 #A42552 #52A425
tetradic
#2552A4 #A42592 #A47725 #25A438
square
#2552A4 #A42592 #A47725 #25A438
split-complementary
#2552A4 #A43825 #92A425
monochromatic
#0E2040 #1A3972 #2552A4 #356CD1 #6791DD

Accessibility & contrast

On white

7.44
#2552A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2552A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2552A4#FFFFFF#000000##FFFFFF
##2552A41.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2552a4;
/* rgb */ color: rgb(37, 82, 164);
/* oklch */ color: oklch(45.5% 0.142 261.2);
Tailwind
colors: {
  custom: {
    50: '#7382bf',
    500: '#2552a4',
    950: '#000000',
  },
}
SCSS
$custom: #2552a4;
$custom-light: #7382bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2552a4",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 218.74,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.14174,
    "h": 261.2
  },
  "luminance": 0.09108
}

Semantic roles & 50–950 ramp

primary
#2552A4
secondary
#C2A062
accent
#AC42E6
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2552A4

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

Preview Lab → · Contrast checker → · Palette generator →

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