#5678CA#5678CA

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

Color values

HEX#5678CA
RGBrgb(86, 120, 202)
HSLhsl(222, 52%, 56%)
HSVhsv(222, 57%, 79%)
CMYKcmyk(57.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.47, 12.48, -46.31)
CIE-LCHlch(51.47, 47.96, 285.08°)
OKLaboklab(58.59% -0.0102 -0.1315)
OKLCHoklch(58.59% 0.132 265.5)
XYZxyz(21.2113, 19.6739, 58.5453)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678CA #CAA856
analogous
#56B2CA #5678CA #6E56CA
triadic
#5678CA #CA5678 #78CA56
tetradic
#5678CA #CA56B2 #CAA856 #56CA6E
square
#5678CA #CA56B2 #CAA856 #56CA6E
split-complementary
#5678CA #CA6E56 #B2CA56
monochromatic
#28417E #3659AD #5678CA #859DD9 #B3C2E7

Accessibility & contrast

On white

4.26
#5678CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5678CA#FFFFFF#000000##000000
##5678CA1.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5678ca;
/* rgb */ color: rgb(86, 120, 202);
/* oklch */ color: oklch(58.6% 0.132 265.5);
Tailwind
colors: {
  custom: {
    50: '#8e9eda',
    500: '#5678ca',
    950: '#000000',
  },
}
SCSS
$custom: #5678ca;
$custom-light: #8e9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5678ca",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 222.414,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.13194,
    "h": 265.5
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5678CA

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

Preview Lab → · Contrast checker → · Palette generator →

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