#005AFF#005AFF

#005AFF is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.254 H 262.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#005AFF
RGBrgb(0, 90, 255)
HSLhsl(219, 100%, 50%)
HSVhsv(219, 100%, 100%)
CMYKcmyk(100%, 64.7%, 0%, 0%)
CIE-LABlab(44.98, 42.74, -86.80)
CIE-LCHlch(44.98, 96.75, 296.21°)
OKLaboklab(54.17% -0.0345 -0.2519)
OKLCHoklch(54.17% 0.254 262.2)
XYZxyz(21.6997, 14.5293, 96.2490)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#005AFF #FFA500
analogous
#00D9FF #005AFF #2600FF
triadic
#005AFF #FF005A #5AFF00
tetradic
#005AFF #FF00D9 #FFA500 #00FF26
square
#005AFF #FF00D9 #FFA500 #00FF26
split-complementary
#005AFF #FF2600 #D9FF00
monochromatic
#002F85 #0044C2 #005AFF #3D82FF #7AA9FF

Accessibility & contrast

On white

5.38
#005AFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#005AFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #005AFF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##005AFF#FFFFFF#000000##FFFFFF
##005AFF1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0060FC
Tritanopia (blue-blind)
#0087A5
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #005aff;
/* rgb */ color: rgb(0, 90, 255);
/* oklch */ color: oklch(54.2% 0.254 262.2);
Tailwind
colors: {
  custom: {
    50: '#8488ff',
    500: '#005aff',
    950: '#000000',
  },
}
SCSS
$custom: #005aff;
$custom-light: #8488ff;
$custom-dark: #000000;
JSON
{
  "hex": "#005aff",
  "rgb": {
    "r": 0,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 218.824,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.54173,
    "c": 0.25424,
    "h": 262.2
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#005AFF
secondary
#E7BE74
accent
#B329FF
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0E0B18
muted
#7E7C86

Preview Lab

Preview with #005AFF

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

Preview Lab → · Contrast checker → · Palette generator →

#005AFF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva