#5A6EDF#5A6EDF

#5A6EDF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.172 H 272.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5A6EDF
RGBrgb(90, 110, 223)
HSLhsl(231, 68%, 61%)
HSVhsv(231, 60%, 87%)
CMYKcmyk(59.6%, 50.7%, 0%, 12.5%)
CIE-LABlab(50.28, 26.39, -60.12)
CIE-LCHlch(50.28, 65.65, 293.70°)
OKLaboklab(58.14% 0.0072 -0.1721)
OKLCHoklch(58.14% 0.172 272.4)
XYZxyz(23.1073, 18.6514, 72.1801)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EDF #DFCB5A
analogous
#5AB1DF #5A6EDF #895ADF
triadic
#5A6EDF #DF5A6E #6EDF5A
tetradic
#5A6EDF #DF5AB1 #DFCB5A #5ADF89
square
#5A6EDF #DF5AB1 #DFCB5A #5ADF89
split-complementary
#5A6EDF #DF895A #B1DF5A
monochromatic
#1F32A0 #2942D3 #5A6EDF #8D9BE9 #C1C8F3

Accessibility & contrast

On white

4.44
#5A6EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5A6EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EDF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EDF#FFFFFF#000000##000000
##5A6EDF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#0C72DD
Tritanopia (blue-blind)
#00889C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6edf;
/* rgb */ color: rgb(90, 110, 223);
/* oklch */ color: oklch(58.1% 0.172 272.4);
Tailwind
colors: {
  custom: {
    50: '#9497ea',
    500: '#5a6edf',
    950: '#000000',
  },
}
SCSS
$custom: #5a6edf;
$custom-light: #9497ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6edf",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 223
  },
  "hsl": {
    "h": 230.977,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.17228,
    "h": 272.4
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#5A6EDF
secondary
#E3DCB2
accent
#B416CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6EDF

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

Preview Lab → · Contrast checker → · Palette generator →

#5A6EDF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva