#5E89CC#5E89CC

#5E89CC is a light, moderate blue. Relative luminance 0.246; OKLCH L 62.8% C 0.112 H 259.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5E89CC
RGBrgb(94, 137, 204)
HSLhsl(217, 52%, 58%)
HSVhsv(217, 54%, 80%)
CMYKcmyk(53.9%, 32.8%, 0%, 20%)
CIE-LABlab(56.71, 4.61, -39.13)
CIE-LCHlch(56.71, 39.40, 276.72°)
OKLaboklab(62.8% -0.0215 -0.1103)
OKLCHoklch(62.8% 0.112 259)
XYZxyz(24.4571, 24.6287, 60.5801)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E89CC #CCA15E
analogous
#5EC0CC #5E89CC #6A5ECC
triadic
#5E89CC #CC5E89 #89CC5E
tetradic
#5E89CC #CC5EC0 #CCA15E #5ECC6A
square
#5E89CC #CC5EC0 #CCA15E #5ECC6A
split-complementary
#5E89CC #CC6A5E #C0CC5E
monochromatic
#2A4E85 #3969B4 #5E89CC #8CABDB #BBCDE9

Accessibility & contrast

On white

3.54
#5E89CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5E89CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E89CC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E89CC#FFFFFF#000000##000000
##5E89CC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ECF
Deuteranopia (green-blind)
#6183CB
Tritanopia (blue-blind)
#1F98A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e89cc;
/* rgb */ color: rgb(94, 137, 204);
/* oklch */ color: oklch(62.8% 0.112 259.0);
Tailwind
colors: {
  custom: {
    50: '#93abdc',
    500: '#5e89cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e89cc;
$custom-light: #93abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e89cc",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 204
  },
  "hsl": {
    "h": 216.545,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.628,
    "c": 0.11237,
    "h": 259
  },
  "luminance": 0.24631
}

Semantic roles & 50–950 ramp

primary
#5E89CC
secondary
#D9C8AD
accent
#A34CDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5E89CC

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

Preview Lab → · Contrast checker → · Palette generator →

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