#5F89CA#5F89CA

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

Color values

HEX#5F89CA
RGBrgb(95, 137, 202)
HSLhsl(216, 50%, 58%)
HSVhsv(216, 53%, 79%)
CMYKcmyk(53%, 32.2%, 0%, 20.8%)
CIE-LABlab(56.67, 4.20, -38.06)
CIE-LCHlch(56.67, 38.29, 276.30°)
OKLaboklab(62.75% -0.0211 -0.1072)
OKLCHoklch(62.75% 0.109 258.9)
XYZxyz(24.3220, 24.5866, 59.3297)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89CA #CAA05F
analogous
#5FBECA #5F89CA #6A5FCA
triadic
#5F89CA #CA5F89 #89CA5F
tetradic
#5F89CA #CA5FBE #CAA05F #5FCA6A
square
#5F89CA #CA5FBE #CAA05F #5FCA6A
split-complementary
#5F89CA #CA6A5F #BECA5F
monochromatic
#2B4E83 #3B69B1 #5F89CA #8DABD9 #BBCDE8

Accessibility & contrast

On white

3.55
#5F89CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5F89CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89CA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89CA#FFFFFF#000000##000000
##5F89CA1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCD
Deuteranopia (green-blind)
#6283C9
Tritanopia (blue-blind)
#2597A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f89ca;
/* rgb */ color: rgb(95, 137, 202);
/* oklch */ color: oklch(62.8% 0.109 258.9);
Tailwind
colors: {
  custom: {
    50: '#93abda',
    500: '#5f89ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f89ca;
$custom-light: #93abda;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89ca",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 202
  },
  "hsl": {
    "h": 216.449,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.10924,
    "h": 258.9
  },
  "luminance": 0.24588
}

Semantic roles & 50–950 ramp

primary
#5F89CA
secondary
#D8C7AD
accent
#A34EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F89CA

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

Preview Lab → · Contrast checker → · Palette generator →

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