#5672DF#5672DF

#5672DF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.7% C 0.168 H 269.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5672DF
RGBrgb(86, 114, 223)
HSLhsl(228, 68%, 61%)
HSVhsv(228, 61%, 87%)
CMYKcmyk(61.4%, 48.9%, 0%, 12.5%)
CIE-LABlab(51.08, 23.20, -58.83)
CIE-LCHlch(51.08, 63.24, 291.52°)
OKLaboklab(58.68% -0.0007 -0.1684)
OKLCHoklch(58.68% 0.168 269.7)
XYZxyz(23.1699, 19.3388, 72.3095)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5672DF #DFC356
analogous
#56B7DF #5672DF #7E56DF
triadic
#5672DF #DF5672 #72DF56
tetradic
#5672DF #DF56B7 #DFC356 #56DF7E
square
#5672DF #DF56B7 #DFC356 #56DF7E
split-complementary
#5672DF #DF7E56 #B7DF56
monochromatic
#1E389D #274AD0 #5672DF #899DE9 #BDC8F2

Accessibility & contrast

On white

4.31
#5672DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5672DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5672DF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5672DF#FFFFFF#000000##000000
##5672DF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#1B74DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5672df;
/* rgb */ color: rgb(86, 114, 223);
/* oklch */ color: oklch(58.7% 0.168 269.7);
Tailwind
colors: {
  custom: {
    50: '#929aea',
    500: '#5672df',
    950: '#000000',
  },
}
SCSS
$custom: #5672df;
$custom-light: #929aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5672df",
  "rgb": {
    "r": 86,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 227.737,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.16839,
    "h": 269.7
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#5672DF
secondary
#E2D8AE
accent
#AA15D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5672DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5672DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva