#1552B4#1552B4

#1552B4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.167 H 260.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#1552B4
RGBrgb(21, 82, 180)
HSLhsl(217, 79%, 39%)
HSVhsv(217, 88%, 71%)
CMYKcmyk(88.3%, 54.4%, 0%, 29.4%)
CIE-LABlab(36.91, 19.69, -57.08)
CIE-LCHlch(36.91, 60.39, 289.03°)
OKLaboklab(46.27% -0.0289 -0.1649)
OKLCHoklch(46.27% 0.167 260.1)
XYZxyz(11.5618, 9.4878, 44.3931)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1552B4 #B47715
analogous
#15A2B4 #1552B4 #2815B4
triadic
#1552B4 #B41552 #52B415
tetradic
#1552B4 #B415A2 #B47715 #15B428
square
#1552B4 #B415A2 #B47715 #15B428
split-complementary
#1552B4 #B42815 #A2B415
monochromatic
#082046 #0F397D #1552B4 #216CE5 #5891EC

Accessibility & contrast

On white

7.25
#1552B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1552B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1552B4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1552B4#FFFFFF#000000##FFFFFF
##1552B41.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1552b4;
/* rgb */ color: rgb(21, 82, 180);
/* oklch */ color: oklch(46.3% 0.167 260.1);
Tailwind
colors: {
  custom: {
    50: '#7381cb',
    500: '#1552b4',
    950: '#000000',
  },
}
SCSS
$custom: #1552b4;
$custom-light: #7381cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1552b4",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 216.981,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4627,
    "c": 0.16738,
    "h": 260.1
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#1552B4
secondary
#CFA056
accent
#AB32F6
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1552B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1552B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva