#5F89DF#5F89DF

#5F89DF is a light, vivid blue. Relative luminance 0.257; OKLCH L 63.9% C 0.138 H 263.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5F89DF
RGBrgb(95, 137, 223)
HSLhsl(220, 67%, 62%)
HSVhsv(220, 57%, 87%)
CMYKcmyk(57.4%, 38.6%, 0%, 12.5%)
CIE-LABlab(57.70, 10.92, -48.23)
CIE-LCHlch(57.70, 49.45, 282.75°)
OKLaboklab(63.89% -0.016 -0.1368)
OKLCHoklch(63.89% 0.138 263.3)
XYZxyz(26.9797, 25.6497, 73.3269)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89DF #DFB55F
analogous
#5FC9DF #5F89DF #755FDF
triadic
#5F89DF #DF5F89 #89DF5F
tetradic
#5F89DF #DF5FC9 #DFB55F #5FDF75
square
#5F89DF #DF5FC9 #DFB55F #5FDF75
split-complementary
#5F89DF #DF755F #C9DF5F
monochromatic
#214BA3 #2C63D5 #5F89DF #92AFE9 #C5D4F3

Accessibility & contrast

On white

3.43
#5F89DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5F89DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89DF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89DF#FFFFFF#000000##000000
##5F89DF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E2
Deuteranopia (green-blind)
#5485DD
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f89df;
/* rgb */ color: rgb(95, 137, 223);
/* oklch */ color: oklch(63.9% 0.138 263.3);
Tailwind
colors: {
  custom: {
    50: '#96abe9',
    500: '#5f89df',
    950: '#000000',
  },
}
SCSS
$custom: #5f89df;
$custom-light: #96abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89df",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 223
  },
  "hsl": {
    "h": 220.313,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63891,
    "c": 0.13776,
    "h": 263.3
  },
  "luminance": 0.25652
}

Semantic roles & 50–950 ramp

primary
#5F89DF
secondary
#E4D5B6
accent
#9217CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F89DF

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

Preview Lab → · Contrast checker → · Palette generator →

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