#5D81F2#5D81F2

#5D81F2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.3% C 0.174 H 267.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5D81F2
RGBrgb(93, 129, 242)
HSLhsl(226, 85%, 66%)
HSVhsv(226, 62%, 95%)
CMYKcmyk(61.6%, 46.7%, 0%, 5.1%)
CIE-LABlab(56.52, 21.62, -60.70)
CIE-LCHlch(56.52, 64.43, 289.61°)
OKLaboklab(63.3% -0.0063 -0.1735)
OKLCHoklch(63.3% 0.174 267.9)
XYZxyz(28.3860, 24.4360, 87.2079)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81F2 #F2CE5D
analogous
#5DCCF2 #5D81F2 #835DF2
triadic
#5D81F2 #F25D81 #81F25D
tetradic
#5D81F2 #F25DCC #F2CE5D #5DF283
square
#5D81F2 #F25DCC #F2CE5D #5DF283
split-complementary
#5D81F2 #F2835D #CCF25D
monochromatic
#103CC5 #2455ED #5D81F2 #96ADF7 #CED9FB

Accessibility & contrast

On white

3.57
#5D81F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5D81F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D81F2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D81F2#FFFFFF#000000##000000
##5D81F21.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#2D81F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d81f2;
/* rgb */ color: rgb(93, 129, 242);
/* oklch */ color: oklch(63.3% 0.174 267.9);
Tailwind
colors: {
  custom: {
    50: '#98a5f7',
    500: '#5d81f2',
    950: '#000000',
  },
}
SCSS
$custom: #5d81f2;
$custom-light: #98a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81f2",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 225.503,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63297,
    "c": 0.17366,
    "h": 267.9
  },
  "luminance": 0.24438
}

Semantic roles & 50–950 ramp

primary
#5D81F2
secondary
#EEE2BD
accent
#AC04E2
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5D81F2

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

Preview Lab → · Contrast checker → · Palette generator →

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