#5E61BB#5E61BB

#5E61BB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.138 H 279.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5E61BB
RGBrgb(94, 97, 187)
HSLhsl(238, 41%, 55%)
HSVhsv(238, 50%, 73%)
CMYKcmyk(49.7%, 48.1%, 0%, 26.7%)
CIE-LABlab(44.96, 23.60, -48.01)
CIE-LCHlch(44.96, 53.50, 296.17°)
OKLaboklab(53.47% 0.0221 -0.1366)
OKLCHoklch(53.47% 0.138 279.2)
XYZxyz(17.8577, 14.5159, 48.8650)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E61BB #BBB85E
analogous
#5E8FBB #5E61BB #8A5EBB
triadic
#5E61BB #BB5E61 #61BB5E
tetradic
#5E61BB #BB5E8F #BBB85E #5EBB8A
square
#5E61BB #BB5E8F #BBB85E #5EBB8A
split-complementary
#5E61BB #BB8A5E #8FBB5E
monochromatic
#2F3170 #41449B #5E61BB #898BCD #B4B5DF

Accessibility & contrast

On white

5.38
#5E61BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5E61BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E61BB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E61BB#FFFFFF#000000##FFFFFF
##5E61BB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#3A7485
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e61bb;
/* rgb */ color: rgb(94, 97, 187);
/* oklch */ color: oklch(53.5% 0.138 279.2);
Tailwind
colors: {
  custom: {
    50: '#928dd0',
    500: '#5e61bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e61bb;
$custom-light: #928dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e61bb",
  "rgb": {
    "r": 94,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 238.065,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53474,
    "c": 0.13834,
    "h": 279.2
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E61BB

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

Preview Lab → · Contrast checker → · Palette generator →

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