#5985F1#5985F1

#5985F1 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.8% C 0.169 H 265.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5985F1
RGBrgb(89, 133, 241)
HSLhsl(223, 84%, 65%)
HSVhsv(223, 63%, 95%)
CMYKcmyk(63.1%, 44.8%, 0%, 5.5%)
CIE-LABlab(57.32, 18.17, -58.88)
CIE-LCHlch(57.32, 61.62, 287.15°)
OKLaboklab(63.83% -0.0139 -0.1682)
OKLCHoklch(63.83% 0.169 265.3)
XYZxyz(28.3790, 25.2472, 86.5797)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5985F1 #F1C559
analogous
#59D1F1 #5985F1 #7959F1
triadic
#5985F1 #F15985 #85F159
tetradic
#5985F1 #F159D1 #F1C559 #59F179
square
#5985F1 #F159D1 #F1C559 #59F179
split-complementary
#5985F1 #F17959 #D1F159
monochromatic
#1043BF #215CEC #5985F1 #91AEF6 #CAD8FB

Accessibility & contrast

On white

3.47
#5985F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5985F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5985F1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5985F1#FFFFFF#000000##000000
##5985F11.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5985f1;
/* rgb */ color: rgb(89, 133, 241);
/* oklch */ color: oklch(63.8% 0.169 265.3);
Tailwind
colors: {
  custom: {
    50: '#95a8f6',
    500: '#5985f1',
    950: '#000000',
  },
}
SCSS
$custom: #5985f1;
$custom-light: #95a8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5985f1",
  "rgb": {
    "r": 89,
    "g": 133,
    "b": 241
  },
  "hsl": {
    "h": 222.632,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63832,
    "c": 0.16881,
    "h": 265.3
  },
  "luminance": 0.2525
}

Semantic roles & 50–950 ramp

primary
#5985F1
secondary
#EDDEB9
accent
#A105E1
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5985F1

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

Preview Lab → · Contrast checker → · Palette generator →

#5985F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva