#2552AF#2552AF

#2552AF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.157 H 262.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2552AF
RGBrgb(37, 82, 175)
HSLhsl(220, 65%, 42%)
HSVhsv(220, 79%, 69%)
CMYKcmyk(78.9%, 53.1%, 0%, 31.4%)
CIE-LABlab(36.97, 19.09, -54.01)
CIE-LCHlch(36.97, 57.28, 289.47°)
OKLaboklab(46.32% -0.0203 -0.1556)
OKLCHoklch(46.32% 0.157 262.5)
XYZxyz(11.5153, 9.5217, 41.7801)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2552AF #AF8225
analogous
#2597AF #2552AF #3D25AF
triadic
#2552AF #AF2552 #52AF25
tetradic
#2552AF #AF2597 #AF8225 #25AF3D
square
#2552AF #AF2597 #AF8225 #25AF3D
split-complementary
#2552AF #AF3D25 #97AF25
monochromatic
#10234A #1A3A7C #2552AF #3C6ED6 #6E93E0

Accessibility & contrast

On white

7.23
#2552AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2552AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2552AF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2552AF#FFFFFF#000000##FFFFFF
##2552AF1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2552af;
/* rgb */ color: rgb(37, 82, 175);
/* oklch */ color: oklch(46.3% 0.157 262.5);
Tailwind
colors: {
  custom: {
    50: '#7582c8',
    500: '#2552af',
    950: '#000000',
  },
}
SCSS
$custom: #2552af;
$custom-light: #7582c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2552af",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 220.435,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46324,
    "c": 0.15694,
    "h": 262.5
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#2552AF
secondary
#C7A869
accent
#B140E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2552AF

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

Preview Lab → · Contrast checker → · Palette generator →

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