#5481DF#5481DF

#5481DF is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.6% C 0.151 H 263.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5481DF
RGBrgb(84, 129, 223)
HSLhsl(221, 68%, 60%)
HSVhsv(221, 62%, 87%)
CMYKcmyk(62.3%, 42.2%, 0%, 12.5%)
CIE-LABlab(54.98, 13.64, -52.60)
CIE-LCHlch(54.98, 54.34, 284.54°)
OKLaboklab(61.64% -0.0174 -0.1499)
OKLCHoklch(61.64% 0.151 263.4)
XYZxyz(24.8211, 22.9108, 72.9119)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481DF #DFB254
analogous
#54C6DF #5481DF #6D54DF
triadic
#5481DF #DF5481 #81DF54
tetradic
#5481DF #DF54C6 #DFB254 #54DF6D
square
#5481DF #DF54C6 #DFB254 #54DF6D
split-complementary
#5481DF #DF6D54 #C6DF54
monochromatic
#1D469C #275DCF #5481DF #88A7E9 #BBCDF2

Accessibility & contrast

On white

3.76
#5481DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5481DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481DF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481DF#FFFFFF#000000##000000
##5481DF1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE3
Deuteranopia (green-blind)
#417EDD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5481df;
/* rgb */ color: rgb(84, 129, 223);
/* oklch */ color: oklch(61.6% 0.151 263.4);
Tailwind
colors: {
  custom: {
    50: '#90a5e9',
    500: '#5481df',
    950: '#000000',
  },
}
SCSS
$custom: #5481df;
$custom-light: #90a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5481df",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 220.576,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.15091,
    "h": 263.4
  },
  "luminance": 0.22913
}

Semantic roles & 50–950 ramp

primary
#5481DF
secondary
#E2D1AD
accent
#9415D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5481DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5481DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva