#5F6EE8#5F6EE8

#5F6EE8 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.183 H 274.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5F6EE8
RGBrgb(95, 110, 232)
HSLhsl(233, 75%, 64%)
HSVhsv(233, 59%, 91%)
CMYKcmyk(59.1%, 52.6%, 0%, 9%)
CIE-LABlab(51.16, 30.25, -63.74)
CIE-LCHlch(51.16, 70.55, 295.39°)
OKLaboklab(59.07% 0.0131 -0.1827)
OKLCHoklch(59.07% 0.183 274.1)
XYZxyz(24.8560, 19.4090, 78.7648)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EE8 #E8D95F
analogous
#5FB2E8 #5F6EE8 #955FE8
triadic
#5F6EE8 #E85F6E #6EE85F
tetradic
#5F6EE8 #E85FB2 #E8D95F #5FE895
square
#5F6EE8 #E85FB2 #E8D95F #5FE895
split-complementary
#5F6EE8 #E8955F #B2E85F
monochromatic
#1A2AB3 #293EE0 #5F6EE8 #959EF0 #CACFF7

Accessibility & contrast

On white

4.30
#5F6EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5F6EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EE8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EE8#FFFFFF#000000##000000
##5F6EE81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2280EC
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#008AA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6ee8;
/* rgb */ color: rgb(95, 110, 232);
/* oklch */ color: oklch(59.1% 0.183 274.1);
Tailwind
colors: {
  custom: {
    50: '#9897f0',
    500: '#5f6ee8',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ee8;
$custom-light: #9897f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ee8",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 232
  },
  "hsl": {
    "h": 233.431,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59069,
    "c": 0.18314,
    "h": 274.1
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#5F6EE8
secondary
#E9E4BA
accent
#C10ED7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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