#566FEF#566FEF

#566FEF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.194 H 271.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#566FEF
RGBrgb(86, 111, 239)
HSLhsl(230, 83%, 64%)
HSVhsv(230, 64%, 94%)
CMYKcmyk(64%, 53.6%, 0%, 6.3%)
CIE-LABlab(51.36, 30.45, -67.37)
CIE-LCHlch(51.36, 73.93, 294.32°)
OKLaboklab(59.23% 0.0034 -0.1935)
OKLCHoklch(59.23% 0.194 271)
XYZxyz(25.0969, 19.5771, 84.1008)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566FEF #EFD656
analogous
#56BBEF #566FEF #8956EF
triadic
#566FEF #EF566F #6FEF56
tetradic
#566FEF #EF56BB #EFD656 #56EF89
square
#566FEF #EF56BB #EFD656 #56EF89
split-complementary
#566FEF #EF8956 #BBEF56
monochromatic
#122DB9 #1E3FEA #566FEF #8E9FF4 #C6CEFA

Accessibility & contrast

On white

4.27
#566FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#566FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #566FEF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566FEF#FFFFFF#000000##000000
##566FEF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F81F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #566fef;
/* rgb */ color: rgb(86, 111, 239);
/* oklch */ color: oklch(59.2% 0.194 271.0);
Tailwind
colors: {
  custom: {
    50: '#9598f5',
    500: '#566fef',
    950: '#000000',
  },
}
SCSS
$custom: #566fef;
$custom-light: #9598f5;
$custom-dark: #000000;
JSON
{
  "hex": "#566fef",
  "rgb": {
    "r": 86,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 230.196,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.19358,
    "h": 271
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#566FEF
secondary
#EBE3B5
accent
#BC06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #566FEF

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

Preview Lab → · Contrast checker → · Palette generator →

#566FEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva