#5E5FB2#5E5FB2

#5E5FB2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.128 H 280.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5E5FB2
RGBrgb(94, 95, 178)
HSLhsl(239, 35%, 53%)
HSVhsv(239, 47%, 70%)
CMYKcmyk(47.2%, 46.6%, 0%, 30.2%)
CIE-LABlab(43.91, 22.04, -44.44)
CIE-LCHlch(43.91, 49.60, 296.38°)
OKLaboklab(52.51% 0.0234 -0.1261)
OKLCHoklch(52.51% 0.128 280.5)
XYZxyz(16.7418, 13.7776, 43.8880)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FB2 #B2B15E
analogous
#5E89B2 #5E5FB2 #875EB2
triadic
#5E5FB2 #B25E5F #5FB25E
tetradic
#5E5FB2 #B25E89 #B2B15E #5EB287
square
#5E5FB2 #B25E89 #B2B15E #5EB287
split-complementary
#5E5FB2 #B2875E #89B25E
monochromatic
#303165 #44458F #5E5FB2 #8788C6 #B1B1DA

Accessibility & contrast

On white

5.59
#5E5FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5E5FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FB2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FB2#FFFFFF#000000##FFFFFF
##5E5FB21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#417080
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e5fb2;
/* rgb */ color: rgb(94, 95, 178);
/* oklch */ color: oklch(52.5% 0.128 280.5);
Tailwind
colors: {
  custom: {
    50: '#918cc9',
    500: '#5e5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fb2;
$custom-light: #918cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fb2",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 239.286,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.12825,
    "h": 280.5
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#5E5FB2
secondary
#C8C8A4
accent
#CA5CCB
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5E5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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