#5F89DD#5F89DD

#5F89DD is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.8% C 0.135 H 263.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5F89DD
RGBrgb(95, 137, 221)
HSLhsl(220, 65%, 62%)
HSVhsv(220, 57%, 87%)
CMYKcmyk(57%, 38%, 0%, 13.3%)
CIE-LABlab(57.60, 10.27, -47.28)
CIE-LCHlch(57.60, 48.38, 282.25°)
OKLaboklab(63.78% -0.0164 -0.134)
OKLCHoklch(63.78% 0.135 263)
XYZxyz(26.7116, 25.5425, 71.9152)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89DD #DDB35F
analogous
#5FC8DD #5F89DD #745FDD
triadic
#5F89DD #DD5F89 #89DD5F
tetradic
#5F89DD #DD5FC8 #DDB35F #5FDD74
square
#5F89DD #DD5FC8 #DDB35F #5FDD74
split-complementary
#5F89DD #DD745F #C8DD5F
monochromatic
#224CA0 #2D64D2 #5F89DD #91AEE8 #C4D3F2

Accessibility & contrast

On white

3.44
#5F89DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5F89DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89DD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89DD#FFFFFF#000000##000000
##5F89DD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E0
Deuteranopia (green-blind)
#5685DB
Tritanopia (blue-blind)
#009CA8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f89dd;
/* rgb */ color: rgb(95, 137, 221);
/* oklch */ color: oklch(63.8% 0.135 263.0);
Tailwind
colors: {
  custom: {
    50: '#95abe8',
    500: '#5f89dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f89dd;
$custom-light: #95abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89dd",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 221
  },
  "hsl": {
    "h": 220,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63778,
    "c": 0.13504,
    "h": 263
  },
  "luminance": 0.25545
}

Semantic roles & 50–950 ramp

primary
#5F89DD
secondary
#E3D4B5
accent
#9119CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F89DD

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

Preview Lab → · Contrast checker → · Palette generator →

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