#5F6DFE#5F6DFE

#5F6DFE is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.5% C 0.213 H 274.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5F6DFE
RGBrgb(95, 109, 254)
HSLhsl(235, 99%, 68%)
HSVhsv(235, 63%, 100%)
CMYKcmyk(62.6%, 57.1%, 0%, 0.4%)
CIE-LABlab(52.42, 38.04, -73.96)
CIE-LCHlch(52.42, 83.17, 297.22°)
OKLaboklab(60.49% 0.0147 -0.2127)
OKLCHoklch(60.49% 0.213 274)
XYZxyz(28.0714, 20.5236, 96.2288)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DFE #FEF05F
analogous
#5FBCFE #5F6DFE #A05FFE
triadic
#5F6DFE #FE5F6D #6DFE5F
tetradic
#5F6DFE #FE5FBC #FEF05F #5FFEA0
square
#5F6DFE #FE5FBC #FEF05F #5FFEA0
split-complementary
#5F6DFE #FEA05F #BCFE5F
monochromatic
#0115E1 #2235FE #5F6DFE #9CA4FE #D9DCFF

Accessibility & contrast

On white

4.11
#5F6DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5F6DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DFE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DFE#FFFFFF#000000##000000
##5F6DFE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#0090AB
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f6dfe;
/* rgb */ color: rgb(95, 109, 254);
/* oklch */ color: oklch(60.5% 0.213 274.0);
Tailwind
colors: {
  custom: {
    50: '#9c96ff',
    500: '#5f6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #5f6dfe;
$custom-light: #9c96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6dfe",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 234.717,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.21325,
    "h": 274
  },
  "luminance": 0.20526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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