#5E7BED#5E7BED

#5E7BED is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.174 H 270.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5E7BED
RGBrgb(94, 123, 237)
HSLhsl(228, 80%, 65%)
HSVhsv(228, 60%, 93%)
CMYKcmyk(60.3%, 48.1%, 0%, 7.1%)
CIE-LABlab(54.72, 23.78, -60.81)
CIE-LCHlch(54.72, 65.30, 291.36°)
OKLaboklab(61.84% -0.0001 -0.1739)
OKLCHoklch(61.84% 0.174 270)
XYZxyz(26.9800, 22.6578, 83.0559)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BED #EDD05E
analogous
#5EC3ED #5E7BED #885EED
triadic
#5E7BED #ED5E7B #7BED5E
tetradic
#5E7BED #ED5EC3 #EDD05E #5EED88
square
#5E7BED #ED5EC3 #EDD05E #5EED88
split-complementary
#5E7BED #ED885E #C3ED5E
monochromatic
#1537BC #274EE7 #5E7BED #95A8F3 #CCD5F9

Accessibility & contrast

On white

3.80
#5E7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5E7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BED
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BED#FFFFFF#000000##000000
##5E7BED1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF1
Deuteranopia (green-blind)
#257DEB
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e7bed;
/* rgb */ color: rgb(94, 123, 237);
/* oklch */ color: oklch(61.8% 0.174 270.0);
Tailwind
colors: {
  custom: {
    50: '#98a0f3',
    500: '#5e7bed',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bed;
$custom-light: #98a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bed",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 227.832,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.17393,
    "h": 270
  },
  "luminance": 0.2266
}

Semantic roles & 50–950 ramp

primary
#5E7BED
secondary
#ECE2BB
accent
#B109DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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