#5E5FDB#5E5FDB

#5E5FDB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.185 H 278.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5E5FDB
RGBrgb(94, 95, 219)
HSLhsl(240, 63%, 61%)
HSVhsv(240, 57%, 86%)
CMYKcmyk(57.1%, 56.6%, 0%, 14.1%)
CIE-LABlab(46.55, 35.00, -63.86)
CIE-LCHlch(46.55, 72.83, 298.73°)
OKLaboklab(55.33% 0.0262 -0.1832)
OKLCHoklch(55.33% 0.185 278.1)
XYZxyz(21.4904, 15.6771, 68.8976)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FDB #DBDA5E
analogous
#5E9EDB #5E5FDB #9C5EDB
triadic
#5E5FDB #DB5E5F #5FDB5E
tetradic
#5E5FDB #DB5E9E #DBDA5E #5EDB9C
square
#5E5FDB #DB5E9E #DBDA5E #5EDB9C
split-complementary
#5E5FDB #DB9C5E #9EDB5E
monochromatic
#23249C #2E2FCE #5E5FDB #9091E6 #C2C2F1

Accessibility & contrast

On white

5.08
#5E5FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5E5FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FDB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FDB#FFFFFF#000000##FFFFFF
##5E5FDB1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#107C94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e5fdb;
/* rgb */ color: rgb(94, 95, 219);
/* oklch */ color: oklch(55.3% 0.185 278.1);
Tailwind
colors: {
  custom: {
    50: '#968ce7',
    500: '#5e5fdb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fdb;
$custom-light: #968ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fdb",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 239.52,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.18505,
    "h": 278.1
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#5E5FDB
secondary
#E2E1B3
accent
#CA1ACB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5E5FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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