#2552A8#2552A8

#2552A8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.8% C 0.147 H 261.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2552A8
RGBrgb(37, 82, 168)
HSLhsl(219, 64%, 40%)
HSVhsv(219, 78%, 66%)
CMYKcmyk(78%, 51.2%, 0%, 34.1%)
CIE-LABlab(36.47, 16.36, -50.66)
CIE-LCHlch(36.47, 53.24, 287.90°)
OKLaboklab(45.78% -0.0212 -0.1458)
OKLCHoklch(45.78% 0.147 261.7)
XYZxyz(10.8456, 9.2538, 38.2528)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552A8 #A87B25
analogous
#2594A8 #2552A8 #3925A8
triadic
#2552A8 #A82552 #52A825
tetradic
#2552A8 #A82594 #A87B25 #25A839
square
#2552A8 #A82594 #A87B25 #25A839
split-complementary
#2552A8 #A83925 #94A825
monochromatic
#0F2144 #1A3A76 #2552A8 #376DD3 #6991DE

Accessibility & contrast

On white

7.37
#2552A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2552A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2552A8#FFFFFF#000000##FFFFFF
##2552A81.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5CAB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2552a8;
/* rgb */ color: rgb(37, 82, 168);
/* oklch */ color: oklch(45.8% 0.147 261.7);
Tailwind
colors: {
  custom: {
    50: '#7482c2',
    500: '#2552a8',
    950: '#000000',
  },
}
SCSS
$custom: #2552a8;
$custom-light: #7482c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2552a8",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 219.389,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.1473,
    "h": 261.7
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#2552A8
secondary
#C4A365
accent
#AE41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2552A8

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

Preview Lab → · Contrast checker → · Palette generator →

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