#050BFD#050BFD

#050BFD is a mid, highly saturated blue. Relative luminance 0.074; OKLCH L 45.4% C 0.308 H 264.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#050BFD
RGBrgb(5, 11, 253)
HSLhsl(239, 98%, 51%)
HSVhsv(239, 98%, 99%)
CMYKcmyk(98%, 95.7%, 0%, 0.8%)
CIE-LABlab(32.62, 77.08, -106.20)
CIE-LCHlch(32.62, 131.23, 305.97°)
OKLaboklab(45.36% -0.0299 -0.3069)
OKLCHoklch(45.36% 0.308 264.4)
XYZxyz(17.9057, 7.3610, 93.3865)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050BFD #FDF705
analogous
#0587FD #050BFD #7B05FD
triadic
#050BFD #FD050B #0BFD05
tetradic
#050BFD #FD0587 #FDF705 #05FD7B
square
#050BFD #FD0587 #FDF705 #05FD7B
split-complementary
#050BFD #FD7B05 #87FD05
monochromatic
#010487 #0206C3 #050BFD #4246FD #7E82FE

Accessibility & contrast

On white

8.49
#050BFD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#050BFD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050BFD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050BFD#FFFFFF#000000##FFFFFF
##050BFD1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059FF
Deuteranopia (green-blind)
#003FFA
Tritanopia (blue-blind)
#006B95
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #050bfd;
/* rgb */ color: rgb(5, 11, 253);
/* oklch */ color: oklch(45.4% 0.308 264.4);
Tailwind
colors: {
  custom: {
    50: '#8a5fff',
    500: '#050bfd',
    950: '#000000',
  },
}
SCSS
$custom: #050bfd;
$custom-light: #8a5fff;
$custom-dark: #000000;
JSON
{
  "hex": "#050bfd",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 253
  },
  "hsl": {
    "h": 238.548,
    "s": 98.413,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4536,
    "c": 0.30836,
    "h": 264.4
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#050BFD
secondary
#E6E378
accent
#FA29FF
background
#FAF6FF
surface
#F3EBFF
border
#CDC6D7
text
#0F0618
muted
#7F7A86

Preview Lab

Preview with #050BFD

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

Preview Lab → · Contrast checker → · Palette generator →

#050BFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva