#5F55EB#5F55EB

#5F55EB is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.0% C 0.218 H 279.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5F55EB
RGBrgb(95, 85, 235)
HSLhsl(244, 79%, 63%)
HSVhsv(244, 64%, 92%)
CMYKcmyk(59.6%, 63.8%, 0%, 7.8%)
CIE-LABlab(45.53, 46.16, -74.57)
CIE-LCHlch(45.53, 87.70, 301.76°)
OKLaboklab(54.97% 0.0357 -0.2147)
OKLCHoklch(54.97% 0.218 279.4)
XYZxyz(22.9584, 14.9264, 80.2524)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55EB #E1EB55
analogous
#5596EB #5F55EB #AA55EB
triadic
#5F55EB #EB5F55 #55EB5F
tetradic
#5F55EB #EB5596 #E1EB55 #55EBAA
square
#5F55EB #EB5596 #E1EB55 #55EBAA
split-complementary
#5F55EB #EBAA55 #96EB55
monochromatic
#1F15B1 #2B1EE5 #5F55EB #938CF1 #C6C3F8

Accessibility & contrast

On white

5.27
#5F55EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5F55EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55EB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55EB#FFFFFF#000000##FFFFFF
##5F55EB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f55eb;
/* rgb */ color: rgb(95, 85, 235);
/* oklch */ color: oklch(55.0% 0.218 279.4);
Tailwind
colors: {
  custom: {
    50: '#9a86f3',
    500: '#5f55eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f55eb;
$custom-light: #9a86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55eb",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 244,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.21763,
    "h": 279.4
  },
  "luminance": 0.14928
}

Semantic roles & 50–950 ramp

primary
#5F55EB
secondary
#E5E9B3
accent
#DB0ACD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F55EB

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

Preview Lab → · Contrast checker → · Palette generator →

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