#5678CB#5678CB

#5678CB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.133 H 265.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5678CB
RGBrgb(86, 120, 203)
HSLhsl(223, 53%, 57%)
HSVhsv(223, 58%, 80%)
CMYKcmyk(57.6%, 40.9%, 0%, 20.4%)
CIE-LABlab(51.52, 12.81, -46.79)
CIE-LCHlch(51.52, 48.52, 285.31°)
OKLaboklab(58.65% -0.01 -0.133)
OKLCHoklch(58.65% 0.133 265.7)
XYZxyz(21.3301, 19.7215, 59.1709)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678CB #CBA956
analogous
#56B3CB #5678CB #6F56CB
triadic
#5678CB #CB5678 #78CB56
tetradic
#5678CB #CB56B3 #CBA956 #56CB6F
square
#5678CB #CB56B3 #CBA956 #56CB6F
split-complementary
#5678CB #CB6F56 #B3CB56
monochromatic
#27417F #3659AE #5678CB #859DD9 #B4C3E8

Accessibility & contrast

On white

4.25
#5678CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5678CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678CB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678CB#FFFFFF#000000##000000
##5678CB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5678cb;
/* rgb */ color: rgb(86, 120, 203);
/* oklch */ color: oklch(58.6% 0.133 265.7);
Tailwind
colors: {
  custom: {
    50: '#8e9edb',
    500: '#5678cb',
    950: '#000000',
  },
}
SCSS
$custom: #5678cb;
$custom-light: #8e9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5678cb",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 222.564,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58645,
    "c": 0.13334,
    "h": 265.7
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#5678CB
secondary
#D6C8A6
accent
#B24BDC
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5678CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5678CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva