#5F6AE5#5F6AE5

#5F6AE5 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.1% C 0.184 H 275.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5F6AE5
RGBrgb(95, 106, 229)
HSLhsl(235, 72%, 64%)
HSVhsv(235, 59%, 90%)
CMYKcmyk(58.5%, 53.7%, 0%, 10.2%)
CIE-LABlab(49.97, 31.71, -63.97)
CIE-LCHlch(49.97, 71.40, 296.37°)
OKLaboklab(58.11% 0.0168 -0.1834)
OKLCHoklch(58.11% 0.184 275.2)
XYZxyz(24.0116, 18.3963, 76.3991)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6AE5 #E5DA5F
analogous
#5FADE5 #5F6AE5 #975FE5
triadic
#5F6AE5 #E55F6A #6AE55F
tetradic
#5F6AE5 #E55FAD #E5DA5F #5FE597
square
#5F6AE5 #E55FAD #E5DA5F #5FE597
split-complementary
#5F6AE5 #E5975F #ADE55F
monochromatic
#1C28AD #2A39DC #5F6AE5 #949BEE #C8CCF6

Accessibility & contrast

On white

4.49
#5F6AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5F6AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6AE5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6AE5#FFFFFF#000000##000000
##5F6AE51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#177DE9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f6ae5;
/* rgb */ color: rgb(95, 106, 229);
/* oklch */ color: oklch(58.1% 0.184 275.2);
Tailwind
colors: {
  custom: {
    50: '#9894ee',
    500: '#5f6ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ae5;
$custom-light: #9894ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ae5",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 235.075,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58114,
    "c": 0.18417,
    "h": 275.2
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#5F6AE5
secondary
#E8E4B8
accent
#C411D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5F6AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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