#2552C6#2552C6

#2552C6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.188 H 264.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2552C6
RGBrgb(37, 82, 198)
HSLhsl(223, 69%, 46%)
HSVhsv(223, 81%, 78%)
CMYKcmyk(81.3%, 58.6%, 0%, 22.4%)
CIE-LABlab(38.73, 27.96, -64.63)
CIE-LCHlch(38.73, 70.42, 293.39°)
OKLaboklab(48.21% -0.0187 -0.1868)
OKLCHoklch(48.21% 0.188 264.3)
XYZxyz(13.9697, 10.5034, 54.7062)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552C6 #C69925
analogous
#25A2C6 #2552C6 #4825C6
triadic
#2552C6 #C62552 #52C625
tetradic
#2552C6 #C625A2 #C69925 #25C648
square
#2552C6 #C625A2 #C69925 #25C648
split-complementary
#2552C6 #C64825 #A2C625
monochromatic
#12275F #1B3D92 #2552C6 #4B74DD #7E9CE7

Accessibility & contrast

On white

6.77
#2552C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2552C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2552C6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552C6#FFFFFF#000000##FFFFFF
##2552C61.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2552c6;
/* rgb */ color: rgb(37, 82, 198);
/* oklch */ color: oklch(48.2% 0.188 264.3);
Tailwind
colors: {
  custom: {
    50: '#7b82d8',
    500: '#2552c6',
    950: '#000000',
  },
}
SCSS
$custom: #2552c6;
$custom-light: #7b82d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2552c6",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 198
  },
  "hsl": {
    "h": 223.23,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48207,
    "c": 0.18778,
    "h": 264.3
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#2552C6
secondary
#CFB777
accent
#BA3CEB
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2552C6

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

Preview Lab → · Contrast checker → · Palette generator →

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