#5182F6#5182F6

#5182F6 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.182 H 264.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5182F6
RGBrgb(81, 130, 246)
HSLhsl(222, 90%, 64%)
HSVhsv(222, 67%, 96%)
CMYKcmyk(67.1%, 47.2%, 0%, 3.5%)
CIE-LABlab(56.45, 20.42, -63.06)
CIE-LCHlch(56.45, 66.28, 287.94°)
OKLaboklab(63.17% -0.0173 -0.1807)
OKLCHoklch(63.17% 0.182 264.5)
XYZxyz(28.0047, 24.3656, 90.3981)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182F6 #F6C551
analogous
#51D4F6 #5182F6 #7351F6
triadic
#5182F6 #F65182 #82F651
tetradic
#5182F6 #F651D4 #F6C551 #51F673
square
#5182F6 #F651D4 #F6C551 #51F673
split-complementary
#5182F6 #F67351 #D4F651
monochromatic
#0A41C3 #1758F3 #5182F6 #8BACF9 #C5D6FC

Accessibility & contrast

On white

3.58
#5182F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5182F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182F6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182F6#FFFFFF#000000##000000
##5182F61.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FFA
Deuteranopia (green-blind)
#1D80F4
Tritanopia (blue-blind)
#009DB0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5182f6;
/* rgb */ color: rgb(81, 130, 246);
/* oklch */ color: oklch(63.2% 0.182 264.5);
Tailwind
colors: {
  custom: {
    50: '#93a5fa',
    500: '#5182f6',
    950: '#000000',
  },
}
SCSS
$custom: #5182f6;
$custom-light: #93a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5182f6",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 222.182,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63166,
    "c": 0.18151,
    "h": 264.5
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#5182F6
secondary
#EEDDB5
accent
#A100E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5182F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5182F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva