#5678AF#5678AF

#5678AF is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.1% C 0.094 H 259.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5678AF
RGBrgb(86, 120, 175)
HSLhsl(217, 36%, 51%)
HSVhsv(217, 51%, 69%)
CMYKcmyk(50.9%, 31.4%, 0%, 31.4%)
CIE-LABlab(50.10, 3.74, -32.94)
CIE-LCHlch(50.10, 33.15, 276.47°)
OKLaboklab(57.08% -0.0168 -0.0926)
OKLCHoklch(57.08% 0.094 259.7)
XYZxyz(18.2895, 18.5052, 43.1572)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5678AF #AF8D56
analogous
#56A4AF #5678AF #6056AF
triadic
#5678AF #AF5678 #78AF56
tetradic
#5678AF #AF56A4 #AF8D56 #56AF60
square
#5678AF #AF56A4 #AF8D56 #56AF60
split-complementary
#5678AF #AF6056 #A4AF56
monochromatic
#2D3F5E #405B88 #5678AF #8099C3 #A9BAD6

Accessibility & contrast

On white

4.47
#5678AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5678AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5678AF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5678AF#FFFFFF#000000##000000
##5678AF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#2D848C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5678af;
/* rgb */ color: rgb(86, 120, 175);
/* oklch */ color: oklch(57.1% 0.094 259.7);
Tailwind
colors: {
  custom: {
    50: '#8b9ec7',
    500: '#5678af',
    950: '#000000',
  },
}
SCSS
$custom: #5678af;
$custom-light: #8b9ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5678af",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 175
  },
  "hsl": {
    "h": 217.079,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.09408,
    "h": 259.7
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#5678AF
secondary
#C4B59D
accent
#A15CCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5678AF

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

Preview Lab → · Contrast checker → · Palette generator →

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