#5E5FBB#5E5FBB

#5E5FBB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.1% C 0.141 H 280.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E5FBB
RGBrgb(94, 95, 187)
HSLhsl(239, 41%, 55%)
HSVhsv(239, 50%, 73%)
CMYKcmyk(49.7%, 49.2%, 0%, 26.7%)
CIE-LABlab(44.45, 24.84, -48.84)
CIE-LCHlch(44.45, 54.79, 296.96°)
OKLaboklab(53.09% 0.0245 -0.139)
OKLCHoklch(53.09% 0.141 280)
XYZxyz(17.6752, 14.1510, 48.8041)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FBB #BBBA5E
analogous
#5E8DBB #5E5FBB #8C5EBB
triadic
#5E5FBB #BB5E5F #5FBB5E
tetradic
#5E5FBB #BB5E8D #BBBA5E #5EBB8C
square
#5E5FBB #BB5E8D #BBBA5E #5EBB8C
split-complementary
#5E5FBB #BB8C5E #8DBB5E
monochromatic
#2F3070 #41429B #5E5FBB #898ACD #B4B5DF

Accessibility & contrast

On white

5.48
#5E5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5E5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FBB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FBB#FFFFFF#000000##FFFFFF
##5E5FBB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#3A7384
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e5fbb;
/* rgb */ color: rgb(94, 95, 187);
/* oklch */ color: oklch(53.1% 0.141 280.0);
Tailwind
colors: {
  custom: {
    50: '#928cd0',
    500: '#5e5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fbb;
$custom-light: #928cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fbb",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 239.355,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.14114,
    "h": 280
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#5E5FBB
secondary
#CECDA7
accent
#CF57D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5E5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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