#2552B3#2552B3

#2552B3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.162 H 262.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2552B3
RGBrgb(37, 82, 179)
HSLhsl(221, 66%, 42%)
HSVhsv(221, 79%, 70%)
CMYKcmyk(79.3%, 54.2%, 0%, 29.8%)
CIE-LABlab(37.26, 20.65, -55.89)
CIE-LCHlch(37.26, 59.59, 290.27°)
OKLaboklab(46.64% -0.02 -0.1612)
OKLCHoklch(46.64% 0.162 262.9)
XYZxyz(11.9140, 9.6812, 43.8798)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552B3 #B38625
analogous
#2599B3 #2552B3 #3F25B3
triadic
#2552B3 #B32552 #52B325
tetradic
#2552B3 #B32599 #B38625 #25B33F
square
#2552B3 #B32599 #B38625 #25B33F
split-complementary
#2552B3 #B33F25 #99B325
monochromatic
#10244E #1B3B80 #2552B3 #3E6FD7 #7195E2

Accessibility & contrast

On white

7.15
#2552B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2552B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2552B3
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552B3#FFFFFF#000000##FFFFFF
##2552B31.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2552b3;
/* rgb */ color: rgb(37, 82, 179);
/* oklch */ color: oklch(46.6% 0.162 262.9);
Tailwind
colors: {
  custom: {
    50: '#7682ca',
    500: '#2552b3',
    950: '#000000',
  },
}
SCSS
$custom: #2552b3;
$custom-light: #7682ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2552b3",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 220.986,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46641,
    "c": 0.1624,
    "h": 262.9
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#2552B3
secondary
#C8AB6B
accent
#B33FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2552B3

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

Preview Lab → · Contrast checker → · Palette generator →

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