#2552A5#2552A5

#2552A5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.143 H 261.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2552A5
RGBrgb(37, 82, 165)
HSLhsl(219, 63%, 40%)
HSVhsv(219, 78%, 65%)
CMYKcmyk(77.6%, 50.3%, 0%, 35.3%)
CIE-LABlab(36.26, 15.19, -49.21)
CIE-LCHlch(36.26, 51.50, 287.15°)
OKLaboklab(45.56% -0.0216 -0.1415)
OKLCHoklch(45.56% 0.143 261.3)
XYZxyz(10.5693, 9.1433, 36.7978)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552A5 #A57825
analogous
#2592A5 #2552A5 #3825A5
triadic
#2552A5 #A52552 #52A525
tetradic
#2552A5 #A52592 #A57825 #25A538
square
#2552A5 #A52592 #A57825 #25A538
split-complementary
#2552A5 #A53825 #92A525
monochromatic
#0F2041 #1A3973 #2552A5 #356CD2 #6791DD

Accessibility & contrast

On white

7.42
#2552A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2552A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2552A5#FFFFFF#000000##FFFFFF
##2552A51.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205BA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2552a5;
/* rgb */ color: rgb(37, 82, 165);
/* oklch */ color: oklch(45.6% 0.143 261.3);
Tailwind
colors: {
  custom: {
    50: '#7382c0',
    500: '#2552a5',
    950: '#000000',
  },
}
SCSS
$custom: #2552a5;
$custom-light: #7382c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2552a5",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 218.906,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.14313,
    "h": 261.3
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#2552A5
secondary
#C3A163
accent
#AC41E6
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2552A5

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

Preview Lab → · Contrast checker → · Palette generator →

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