#5E79DB#5E79DB

#5E79DB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.152 H 269.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5E79DB
RGBrgb(94, 121, 219)
HSLhsl(227, 63%, 61%)
HSVhsv(227, 57%, 86%)
CMYKcmyk(57.1%, 44.7%, 0%, 14.1%)
CIE-LABlab(53.13, 19.08, -53.27)
CIE-LCHlch(53.13, 56.58, 289.70°)
OKLaboklab(60.29% -0.0005 -0.1518)
OKLCHoklch(60.29% 0.152 269.8)
XYZxyz(24.2354, 21.1670, 69.8126)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79DB #DBC05E
analogous
#5EB8DB #5E79DB #825EDB
triadic
#5E79DB #DB5E79 #79DB5E
tetradic
#5E79DB #DB5EB8 #DBC05E #5EDB82
square
#5E79DB #DB5EB8 #DBC05E #5EDB82
split-complementary
#5E79DB #DB825E #B8DB5E
monochromatic
#233D9C #2E51CE #5E79DB #90A3E6 #C2CCF1

Accessibility & contrast

On white

4.01
#5E79DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5E79DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79DB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79DB#FFFFFF#000000##000000
##5E79DB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85DF
Deuteranopia (green-blind)
#3B7AD9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5e79db;
/* rgb */ color: rgb(94, 121, 219);
/* oklch */ color: oklch(60.3% 0.152 269.8);
Tailwind
colors: {
  custom: {
    50: '#959fe7',
    500: '#5e79db',
    950: '#000000',
  },
}
SCSS
$custom: #5e79db;
$custom-light: #959fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79db",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 227.04,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6029,
    "c": 0.15178,
    "h": 269.8
  },
  "luminance": 0.21169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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