#5E79BF#5E79BF

#5E79BF is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.6% C 0.112 H 267.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E79BF
RGBrgb(94, 121, 191)
HSLhsl(223, 43%, 56%)
HSVhsv(223, 51%, 75%)
CMYKcmyk(50.8%, 36.6%, 0%, 25.1%)
CIE-LABlab(51.63, 10.08, -39.74)
CIE-LCHlch(51.63, 41.00, 284.23°)
OKLaboklab(58.64% -0.006 -0.1122)
OKLCHoklch(58.64% 0.112 267)
XYZxyz(20.8544, 19.8146, 52.0058)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E79BF #BFA45E
analogous
#5EA9BF #5E79BF #735EBF
triadic
#5E79BF #BF5E79 #79BF5E
tetradic
#5E79BF #BF5EA9 #BFA45E #5EBF73
square
#5E79BF #BF5EA9 #BFA45E #5EBF73
split-complementary
#5E79BF #BF735E #A9BF5E
monochromatic
#2E4274 #405BA0 #5E79BF #8A9DD0 #B6C2E2

Accessibility & contrast

On white

4.23
#5E79BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5E79BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E79BF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E79BF#FFFFFF#000000##000000
##5E79BF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C2
Deuteranopia (green-blind)
#5377BD
Tritanopia (blue-blind)
#338893
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e79bf;
/* rgb */ color: rgb(94, 121, 191);
/* oklch */ color: oklch(58.6% 0.112 267.0);
Tailwind
colors: {
  custom: {
    50: '#919fd2',
    500: '#5e79bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e79bf;
$custom-light: #919fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e79bf",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 223.299,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58643,
    "c": 0.11234,
    "h": 267
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#5E79BF
secondary
#D0C5A8
accent
#B055D3
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5E79BF

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

Preview Lab → · Contrast checker → · Palette generator →

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