#1552B3#1552B3

#1552B3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.166 H 259.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#1552B3
RGBrgb(21, 82, 179)
HSLhsl(217, 79%, 39%)
HSVhsv(217, 88%, 70%)
CMYKcmyk(88.3%, 54.2%, 0%, 29.8%)
CIE-LABlab(36.83, 19.29, -56.62)
CIE-LCHlch(36.83, 59.81, 288.82°)
OKLaboklab(46.19% -0.029 -0.1635)
OKLCHoklch(46.19% 0.166 259.9)
XYZxyz(11.4603, 9.4472, 43.8586)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1552B3 #B37615
analogous
#15A1B3 #1552B3 #2715B3
triadic
#1552B3 #B31552 #52B315
tetradic
#1552B3 #B315A1 #B37615 #15B327
square
#1552B3 #B315A1 #B37615 #15B327
split-complementary
#1552B3 #B32715 #A1B315
monochromatic
#082045 #0F397C #1552B3 #206CE5 #5790EB

Accessibility & contrast

On white

7.27
#1552B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1552B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1552B3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1552B3#FFFFFF#000000##FFFFFF
##1552B31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1552b3;
/* rgb */ color: rgb(21, 82, 179);
/* oklch */ color: oklch(46.2% 0.166 259.9);
Tailwind
colors: {
  custom: {
    50: '#7281ca',
    500: '#1552b3',
    950: '#000000',
  },
}
SCSS
$custom: #1552b3;
$custom-light: #7281ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1552b3",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 216.835,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46189,
    "c": 0.16604,
    "h": 259.9
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#1552B3
secondary
#CEA056
accent
#AA32F5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1552B3

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

Preview Lab → · Contrast checker → · Palette generator →

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