#5F6FFE#5F6FFE

#5F6FFE is a mid, highly saturated blue. Relative luminance 0.210; OKLCH L 60.8% C 0.211 H 273.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F6FFE
RGBrgb(95, 111, 254)
HSLhsl(234, 99%, 68%)
HSVhsv(234, 63%, 100%)
CMYKcmyk(62.6%, 56.3%, 0%, 0.4%)
CIE-LABlab(52.90, 36.84, -73.19)
CIE-LCHlch(52.90, 81.94, 296.72°)
OKLaboklab(60.84% 0.013 -0.2104)
OKLCHoklch(60.84% 0.211 273.5)
XYZxyz(28.2872, 20.9551, 96.3008)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FFE #FEEE5F
analogous
#5FBEFE #5F6FFE #9E5FFE
triadic
#5F6FFE #FE5F6F #6FFE5F
tetradic
#5F6FFE #FE5FBE #FEEE5F #5FFE9E
square
#5F6FFE #FE5FBE #FEEE5F #5FFE9E
split-complementary
#5F6FFE #FE9E5F #BEFE5F
monochromatic
#0118E1 #2238FE #5F6FFE #9CA6FE #D9DCFF

Accessibility & contrast

On white

4.04
#5F6FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5F6FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FFE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FFE#FFFFFF#000000##000000
##5F6FFE1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0077FB
Tritanopia (blue-blind)
#0091AC
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f6ffe;
/* rgb */ color: rgb(95, 111, 254);
/* oklch */ color: oklch(60.8% 0.211 273.5);
Tailwind
colors: {
  custom: {
    50: '#9b98ff',
    500: '#5f6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ffe;
$custom-light: #9b98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ffe",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 233.962,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60843,
    "c": 0.21084,
    "h": 273.5
  },
  "luminance": 0.20958
}

Semantic roles & 50–950 ramp

primary
#5F6FFE
secondary
#F4F0C4
accent
#CE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #5F6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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