#2552A7#2552A7

#2552A7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.146 H 261.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2552A7
RGBrgb(37, 82, 167)
HSLhsl(219, 64%, 40%)
HSVhsv(219, 78%, 65%)
CMYKcmyk(77.8%, 50.9%, 0%, 34.5%)
CIE-LABlab(36.40, 15.97, -50.18)
CIE-LCHlch(36.40, 52.66, 287.65°)
OKLaboklab(45.71% -0.0213 -0.1443)
OKLCHoklch(45.71% 0.146 261.6)
XYZxyz(10.7528, 9.2167, 37.7640)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552A7 #A77A25
analogous
#2593A7 #2552A7 #3925A7
triadic
#2552A7 #A72552 #52A725
tetradic
#2552A7 #A72593 #A77A25 #25A739
square
#2552A7 #A72593 #A77A25 #25A739
split-complementary
#2552A7 #A73925 #93A725
monochromatic
#0F2143 #1A3975 #2552A7 #376DD3 #6991DE

Accessibility & contrast

On white

7.39
#2552A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2552A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2552A7#FFFFFF#000000##FFFFFF
##2552A71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5CAA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2552a7;
/* rgb */ color: rgb(37, 82, 167);
/* oklch */ color: oklch(45.7% 0.146 261.6);
Tailwind
colors: {
  custom: {
    50: '#7382c2',
    500: '#2552a7',
    950: '#000000',
  },
}
SCSS
$custom: #2552a7;
$custom-light: #7382c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2552a7",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 219.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.14591,
    "h": 261.6
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#2552A7
secondary
#C4A364
accent
#AD41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2552A7

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

Preview Lab → · Contrast checker → · Palette generator →

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