#5E7FC2#5E7FC2

#5E7FC2 is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.1% C 0.110 H 263.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5E7FC2
RGBrgb(94, 127, 194)
HSLhsl(220, 45%, 56%)
HSVhsv(220, 52%, 76%)
CMYKcmyk(51.5%, 34.5%, 0%, 23.9%)
CIE-LABlab(53.44, 7.40, -38.60)
CIE-LCHlch(53.44, 39.30, 280.86°)
OKLaboklab(60.1% -0.0124 -0.1088)
OKLCHoklch(60.1% 0.11 263.5)
XYZxyz(21.9398, 21.4519, 54.0130)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FC2 #C2A15E
analogous
#5EB1C2 #5E7FC2 #6F5EC2
triadic
#5E7FC2 #C25E7F #7FC25E
tetradic
#5E7FC2 #C25EB1 #C2A15E #5EC26F
square
#5E7FC2 #C25EB1 #C2A15E #5EC26F
split-complementary
#5E7FC2 #C26F5E #B1C25E
monochromatic
#2E4678 #3E60A4 #5E7FC2 #8AA2D3 #B7C6E4

Accessibility & contrast

On white

3.97
#5E7FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5E7FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FC2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FC2#FFFFFF#000000##000000
##5E7FC21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6585C5
Deuteranopia (green-blind)
#597BC1
Tritanopia (blue-blind)
#2E8D97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e7fc2;
/* rgb */ color: rgb(94, 127, 194);
/* oklch */ color: oklch(60.1% 0.110 263.5);
Tailwind
colors: {
  custom: {
    50: '#92a3d5',
    500: '#5e7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fc2;
$custom-light: #92a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fc2",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 220.2,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60097,
    "c": 0.10951,
    "h": 263.5
  },
  "luminance": 0.21453
}

Semantic roles & 50–950 ramp

primary
#5E7FC2
secondary
#D2C5A9
accent
#AA53D5
background
#F9FAFD
surface
#F2F3FA
border
#CCCDD3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5E7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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