#5E7BDC#5E7BDC

#5E7BDC is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.8% C 0.151 H 269.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5E7BDC
RGBrgb(94, 123, 220)
HSLhsl(226, 64%, 62%)
HSVhsv(226, 57%, 86%)
CMYKcmyk(57.3%, 44.1%, 0%, 13.7%)
CIE-LABlab(53.72, 18.18, -52.89)
CIE-LCHlch(53.72, 55.93, 288.97°)
OKLaboklab(60.76% -0.0025 -0.1506)
OKLCHoklch(60.76% 0.151 269)
XYZxyz(24.6130, 21.7110, 70.5899)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BDC #DCBF5E
analogous
#5EBADC #5E7BDC #805EDC
triadic
#5E7BDC #DC5E7B #7BDC5E
tetradic
#5E7BDC #DC5EBA #DCBF5E #5EDC80
square
#5E7BDC #DC5EBA #DCBF5E #5EDC80
split-complementary
#5E7BDC #DC805E #BADC5E
monochromatic
#223F9D #2D53D0 #5E7BDC #90A4E7 #C3CDF2

Accessibility & contrast

On white

3.93
#5E7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5E7BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BDC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BDC#FFFFFF#000000##000000
##5E7BDC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e7bdc;
/* rgb */ color: rgb(94, 123, 220);
/* oklch */ color: oklch(60.8% 0.151 269.0);
Tailwind
colors: {
  custom: {
    50: '#95a0e7',
    500: '#5e7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bdc;
$custom-light: #95a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bdc",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 226.19,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60757,
    "c": 0.15067,
    "h": 269
  },
  "luminance": 0.21713
}

Semantic roles & 50–950 ramp

primary
#5E7BDC
secondary
#E2D8B3
accent
#A319CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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