#5565B2#5565B2

#5565B2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.1% C 0.122 H 272.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5565B2
RGBrgb(85, 101, 178)
HSLhsl(230, 38%, 52%)
HSVhsv(230, 52%, 70%)
CMYKcmyk(52.2%, 43.3%, 0%, 30.2%)
CIE-LABlab(44.87, 16.16, -42.95)
CIE-LCHlch(44.87, 45.89, 290.62°)
OKLaboklab(53.08% 0.0059 -0.1219)
OKLCHoklch(53.08% 0.122 272.8)
XYZxyz(16.4333, 14.4519, 44.0344)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5565B2 #B2A255
analogous
#5594B2 #5565B2 #7455B2
triadic
#5565B2 #B25565 #65B255
tetradic
#5565B2 #B25594 #B2A255 #55B274
square
#5565B2 #B25594 #B2A255 #55B274
split-complementary
#5565B2 #B27455 #94B255
monochromatic
#2C3561 #3F4C8B #5565B2 #7F8BC5 #A9B1D8

Accessibility & contrast

On white

5.40
#5565B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5565B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5565B2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5565B2#FFFFFF#000000##FFFFFF
##5565B21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#2B7683
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5565b2;
/* rgb */ color: rgb(85, 101, 178);
/* oklch */ color: oklch(53.1% 0.122 272.8);
Tailwind
colors: {
  custom: {
    50: '#8b90c9',
    500: '#5565b2',
    950: '#000000',
  },
}
SCSS
$custom: #5565b2;
$custom-light: #8b90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5565b2",
  "rgb": {
    "r": 85,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 229.677,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.12203,
    "h": 272.8
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#5565B2
secondary
#C6BF9D
accent
#BA5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5565B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5565B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva