#5A67F6#5A67F6

#5A67F6 is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.5% C 0.211 H 273.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5A67F6
RGBrgb(90, 103, 246)
HSLhsl(235, 90%, 66%)
HSVhsv(235, 63%, 96%)
CMYKcmyk(63.4%, 58.1%, 0%, 3.5%)
CIE-LABlab(50.13, 38.27, -73.26)
CIE-LCHlch(50.13, 82.65, 297.58°)
OKLaboklab(58.52% 0.0145 -0.2109)
OKLCHoklch(58.52% 0.211 273.9)
XYZxyz(25.6957, 18.5258, 89.3926)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67F6 #F6E95A
analogous
#5AB5F6 #5A67F6 #9B5AF6
triadic
#5A67F6 #F65A67 #67F65A
tetradic
#5A67F6 #F65AB5 #F6E95A #5AF69B
square
#5A67F6 #F65AB5 #F6E95A #5AF69B
split-complementary
#5A67F6 #F69B5A #B5F65A
monochromatic
#0B1BCB #2032F3 #5A67F6 #949CF9 #CED2FC

Accessibility & contrast

On white

4.46
#5A67F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5A67F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A67F6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67F6#FFFFFF#000000##000000
##5A67F61.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0070F3
Tritanopia (blue-blind)
#008AA5
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a67f6;
/* rgb */ color: rgb(90, 103, 246);
/* oklch */ color: oklch(58.5% 0.211 273.9);
Tailwind
colors: {
  custom: {
    50: '#9892fa',
    500: '#5a67f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a67f6;
$custom-light: #9892fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67f6",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 246
  },
  "hsl": {
    "h": 235,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.21136,
    "h": 273.9
  },
  "luminance": 0.18528
}

Semantic roles & 50–950 ramp

primary
#5A67F6
secondary
#F0EBBC
accent
#D200E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A67F6

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

Preview Lab → · Contrast checker → · Palette generator →

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